mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Basic storage routine works, basic file handling.
This commit is contained in:
@@ -40,11 +40,11 @@ class BillsTest extends TestCase
|
||||
*/
|
||||
public function testGetMapBasic()
|
||||
{
|
||||
$one = new Bill();
|
||||
$one = new Bill;
|
||||
$one->id = 5;
|
||||
$one->name = 'Something';
|
||||
$one->match = 'hi,bye';
|
||||
$two = new Account;
|
||||
$two = new Bill;
|
||||
$two->id = 9;
|
||||
$two->name = 'Else';
|
||||
$two->match = 'match';
|
||||
@@ -59,8 +59,8 @@ class BillsTest extends TestCase
|
||||
// assert this is what the result looks like:
|
||||
$result = [
|
||||
0 => (string)trans('import.map_do_not_map'),
|
||||
9 => 'Else [match]',
|
||||
5 => 'Something [hi,bye]',
|
||||
9 => 'Else',
|
||||
5 => 'Something',
|
||||
];
|
||||
$this->assertEquals($result, $mapping);
|
||||
}
|
||||
|
Reference in New Issue
Block a user