mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08: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
30607ac268
commit
8b82262777
|
@ -22,12 +22,12 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase
|
|||
return $app;
|
||||
}
|
||||
|
||||
public function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
//Artisan::call('migrate:reset');
|
||||
parent::tearDown();
|
||||
|
|
Loading…
Reference in a new issue