Update test code.

This commit is contained in:
James Cole
2018-05-11 19:58:10 +02:00
parent 9bb4df4cc3
commit 4d6bc55723
174 changed files with 2138 additions and 940 deletions

View File

@@ -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');