Fix various tests.

This commit is contained in:
James Cole
2018-03-11 21:19:35 +01:00
parent c8f52a1c40
commit 3fdb782321
7 changed files with 32 additions and 26 deletions

View File

@@ -52,7 +52,7 @@ class AccountUpdateServiceTest extends TestCase
$opposing = $this->user()->accounts()->first();
$journal = TransactionJournal::create(
['user_id' => $this->user()->id, 'transaction_type_id' => 4, 'transaction_currency_id' => 1, 'description' => 'IB',
'date' => '2018-01-01', 'completed' => true,
'date' => '2018-01-01', 'completed' => true, 'tag_count' => 0,
]
);
// transactions:
@@ -180,7 +180,7 @@ class AccountUpdateServiceTest extends TestCase
$opposing = $this->user()->accounts()->first();
$journal = TransactionJournal::create(
['user_id' => $this->user()->id, 'transaction_type_id' => 4, 'transaction_currency_id' => 1, 'description' => 'IB',
'date' => '2018-01-01', 'completed' => true,
'date' => '2018-01-01', 'completed' => true, 'tag_count' => 0,
]
);
// transactions:
@@ -235,7 +235,7 @@ class AccountUpdateServiceTest extends TestCase
$opposing = $this->user()->accounts()->first();
$journal = TransactionJournal::create(
['user_id' => $this->user()->id, 'transaction_type_id' => 4, 'transaction_currency_id' => 1, 'description' => 'IB',
'date' => '2018-01-01', 'completed' => true,
'date' => '2018-01-01', 'completed' => true, 'tag_count' => 0,
]
);
// transactions: