Fix display of foreign currencies in charts.

This commit is contained in:
James Cole
2017-06-05 22:11:54 +02:00
parent b69a2ef0cd
commit 17b6cc43d5
8 changed files with 67 additions and 50 deletions

View File

@@ -132,7 +132,7 @@ class AccountControllerTest extends TestCase
$journalRepos = $this->mock(JournalRepositoryInterface::class);
$repository->shouldReceive('getAccountsByType')->andReturn(new Collection([$account]));
$journalRepos->shouldReceive('first')->once()->andReturn(new TransactionJournal);
Steam::shouldReceive('balancesById')->andReturn([$account->id => '100']);
Steam::shouldReceive('balancesByAccounts')->andReturn([$account->id => '100']);
Steam::shouldReceive('getLastActivities')->andReturn([]);
$this->be($this->user());