mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fixed tests to account for issue fixed by #1097
This commit is contained in:
@@ -41,11 +41,11 @@ class OpposingAccountIbansTest extends TestCase
|
||||
public function testGetMapBasic()
|
||||
{
|
||||
$one = new Account;
|
||||
$one->id = 1;
|
||||
$one->id = 21;
|
||||
$one->name = 'Something';
|
||||
$one->iban = 'IBAN';
|
||||
$two = new Account;
|
||||
$two->id = 2;
|
||||
$two->id = 17;
|
||||
$two->name = 'Else';
|
||||
$collection = new Collection([$one, $two]);
|
||||
|
||||
@@ -59,9 +59,9 @@ class OpposingAccountIbansTest extends TestCase
|
||||
$this->assertCount(3, $mapping);
|
||||
// assert this is what the result looks like:
|
||||
$result = [
|
||||
0 => strval(trans('import.map_do_not_map')),
|
||||
1 => 'IBAN (Something)',
|
||||
2 => 'Else',
|
||||
0 => strval(trans('import.map_do_not_map')),
|
||||
17 => 'Else',
|
||||
21 => 'IBAN (Something)',
|
||||
];
|
||||
$this->assertEquals($result, $mapping);
|
||||
}
|
||||
|
Reference in New Issue
Block a user