mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Improved implementation of liability accounts and the option to add or remove accounts from the net-worth calculations.
This commit is contained in:
@@ -1037,7 +1037,7 @@ class TransactionFactoryTest extends TestCase
|
||||
try {
|
||||
$factory->createPair($withdrawal, $data);
|
||||
} catch (FireflyException $e) {
|
||||
$this->assertEquals('At least one of the accounts must be an asset account.', $e->getMessage());
|
||||
$this->assertEquals('At least one of the accounts must be an asset account (Expense account, Revenue account).', $e->getMessage());
|
||||
}
|
||||
|
||||
$newCount = $withdrawal->transactions()->count();
|
||||
|
||||
Reference in New Issue
Block a user