mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Not really a solution for the test, but might work.
This commit is contained in:
parent
6f036d9120
commit
0da370c42d
@ -341,7 +341,7 @@ class AccountFactoryTest extends TestCase
|
||||
$data = [
|
||||
'account_type_id' => null,
|
||||
'accountType' => 'asset',
|
||||
'iban' => 'NL18RABO0326747238',
|
||||
'iban' => 'NL02ABNA0870809585',
|
||||
'name' => 'Basic asset account #' . random_int(1, 1000),
|
||||
'virtualBalance' => null,
|
||||
'active' => true,
|
||||
@ -356,7 +356,7 @@ class AccountFactoryTest extends TestCase
|
||||
// assert stuff about account:
|
||||
$this->assertEquals($account->name, $data['name']);
|
||||
$this->assertEquals(AccountType::ASSET, $account->accountType->type);
|
||||
$this->assertEquals('NL18RABO0326747238', $account->iban);
|
||||
$this->assertEquals('NL02ABNA0870809585', $account->iban);
|
||||
$this->assertTrue($account->active);
|
||||
$this->assertEquals('0', $account->virtual_balance);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user