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

@@ -43,7 +43,7 @@ class PiggyBankEventTransformerTest extends TestCase
*
* @covers \FireflyIII\Transformers\PiggyBankEventTransformer::transform
*/
public function testBasic()
public function testBasic(): void
{
// make new account:
$account = Account::create(
@@ -87,7 +87,7 @@ class PiggyBankEventTransformerTest extends TestCase
*
* @covers \FireflyIII\Transformers\PiggyBankEventTransformer::transform
*/
public function testBasicCurrency()
public function testBasicCurrency(): void
{
// mock repository.
$repository = $this->mock(CurrencyRepositoryInterface::class);