Skip to content

Commit

Permalink
make tests run with phpunit 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ariselseng committed Nov 30, 2020
1 parent 443084e commit fac76e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/RawPreviewIProviderV2Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class RawPreviewTestIProviderV2 extends TestCase
]
];

static function setupBeforeClass()
static function setupBeforeClass(): void
{
foreach (self::ASSETS as $test) {
$localPath = sys_get_temp_dir() . '/' . $test['filename'];
Expand All @@ -66,7 +66,7 @@ static function setupBeforeClass()
}
}

protected function setUp()
protected function setUp(): void
{
parent::setUp();
$this->app = new \OCA\CameraRawPreviews\AppInfo\Application;
Expand All @@ -76,7 +76,7 @@ protected function setUp()
$this->previewManager = $server->getPreviewManager();
}

protected function tearDown()
protected function tearDown(): void
{
foreach (self::ASSETS as $test) {
$this->userFolder->get($test['filename'])->delete();
Expand Down

0 comments on commit fac76e3

Please sign in to comment.