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

@@ -48,7 +48,7 @@ class ExchangeControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Json\ExchangeController::getRate
*/
public function testGetRate()
public function testGetRate(): void
{
$repository = $this->mock(CurrencyRepositoryInterface::class);
@@ -63,7 +63,7 @@ class ExchangeControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Json\ExchangeController::getRate
*/
public function testGetRateAmount()
public function testGetRateAmount(): void
{
$repository = $this->mock(CurrencyRepositoryInterface::class);
$rate = factory(CurrencyExchangeRate::class)->make();