Added tests.

This commit is contained in:
James Cole
2015-05-07 21:26:00 +02:00
parent 184e8b1132
commit 5a98a5252d
2 changed files with 70 additions and 9 deletions

View File

@@ -313,7 +313,7 @@ class AccountRepository implements AccountRepositoryInterface
*/
public function leftOnAccount(Account $account)
{
$balance = \Steam::balance($account, null, true);
$balance = Steam::balance($account, null, true);
/** @var PiggyBank $p */
foreach ($account->piggybanks()->get() as $p) {
$balance -= $p->currentRelevantRep()->currentamount;