mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 13:16:31 +00:00
Fix test method names.
This commit is contained in:
@@ -35,6 +35,20 @@ use Tests\TestCase;
|
||||
*/
|
||||
class SandstormTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* Set up test
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
Route::middleware(Sandstorm::class)->any(
|
||||
'/_test/sandstorm', function () {
|
||||
return view('test.test');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Middleware\Sandstorm
|
||||
*/
|
||||
@@ -56,18 +70,4 @@ class SandstormTest extends TestCase
|
||||
|
||||
putenv('SANDSTORM=0');
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up test
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
Route::middleware(Sandstorm::class)->any(
|
||||
'/_test/sandstorm', function () {
|
||||
return view('test.test');
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user