Fix all tests.

This commit is contained in:
James Cole
2018-02-17 14:14:26 +01:00
parent 0f1cc46b71
commit 632d50a0d0
3 changed files with 10 additions and 1 deletions

View File

@@ -177,6 +177,7 @@ class PiggyBankControllerTest extends TestCase
$two->account_id = $one->account_id;
$journalRepos->shouldReceive('first')->once()->andReturn(new TransactionJournal);
$repository->shouldReceive('getPiggyBanks')->andReturn(new Collection([$one, $two]));
$repository->shouldReceive('getCurrentAmount')->andReturn('10');
Steam::shouldReceive('balanceIgnoreVirtual')->twice()->andReturn('1');