mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Fix all tests.
This commit is contained in:
@@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user