mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Improve code quality and fix test coverage.
This commit is contained in:
@@ -41,7 +41,7 @@ class RangeTest extends TestCase
|
||||
public function testMiddlewareAuthenticated()
|
||||
{
|
||||
$repository = $this->mock(JournalRepositoryInterface::class);
|
||||
$repository->shouldReceive('first')->andReturn(TransactionJournal::first());
|
||||
$repository->shouldReceive('firstNull')->andReturn(TransactionJournal::first());
|
||||
$this->withoutExceptionHandling();
|
||||
$this->be($this->user());
|
||||
$response = $this->get('/_test/range');
|
||||
|
Reference in New Issue
Block a user