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

@@ -55,7 +55,7 @@ class BillControllerTest extends TestCase
*
* @param string $range
*/
public function testFrontpage(string $range)
public function testFrontpage(string $range): void
{
$generator = $this->mock(GeneratorInterface::class);
$repository = $this->mock(BillRepositoryInterface::class);
@@ -73,7 +73,7 @@ class BillControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Chart\BillController::single
*/
public function testSingle()
public function testSingle(): void
{
$transaction = factory(Transaction::class)->make();
$generator = $this->mock(GeneratorInterface::class);