Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanakg committed Feb 19, 2024
1 parent bf81032 commit fbb1e88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Feature/ImportCSVTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,9 @@ public function test_doesnt_import_mismatches_when_row_exists_and_is_reviewed_an
);

$expected = array_map(function ($row) use ($header) {
return array_combine($header, $row);
$expected_line = array_combine($header, $row);
$expected_line['type'] = 'statement';
return $expected_line;
}, $lines);

ImportCSV::dispatch($reupload_import1);
Expand Down

0 comments on commit fbb1e88

Please sign in to comment.