mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 07:38:29 +00:00
Update test code.
This commit is contained in:
@@ -38,7 +38,7 @@ class RangeTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Middleware\Range
|
||||
*/
|
||||
public function testMiddlewareAuthenticated()
|
||||
public function testMiddlewareAuthenticated(): void
|
||||
{
|
||||
$repository = $this->mock(JournalRepositoryInterface::class);
|
||||
$repository->shouldReceive('firstNull')->andReturn(TransactionJournal::first());
|
||||
@@ -56,7 +56,7 @@ class RangeTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\Http\Middleware\Range
|
||||
*/
|
||||
public function testMiddlewareNotAuthenticated()
|
||||
public function testMiddlewareNotAuthenticated(): void
|
||||
{
|
||||
$this->withoutExceptionHandling();
|
||||
$response = $this->get('/_test/range');
|
||||
|
||||
Reference in New Issue
Block a user