mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-26 23:07:59 +01:00
Shift return type of base TestCase methods
From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type: - `setUpBeforeClass()` - `setUp()` - `assertPreConditions()` - `assertPostConditions()` - `tearDown()` - `tearDownAfterClass()` - `onNotSuccessfulTest()` [1]: https://phpunit.de/announcements/phpunit-8.html
This commit is contained in:
parent
392f9ffd69
commit
795f314d1a
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class TestCase extends BaseTestCase
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function tearDown()
|
protected function tearDown(): void
|
||||||
{
|
{
|
||||||
Storage::disk('local')->deleteDirectory('testing-datastore');
|
Storage::disk('local')->deleteDirectory('testing-datastore');
|
||||||
parent::tearDown();
|
parent::tearDown();
|
||||||
|
|
Loading…
Reference in a new issue