Skip to content

Commit 132fec9

Browse files
author
Łukasz Serwatka
authored
Merge pull request #807 from konradoboza/port_unit_test_fix_from_1_3
Fix ported to 2.2 to prevent tests from failing
2 parents c7856fc + 8076ed7 commit 132fec9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/Tests/Form/DataTransformer/LocationsTransformerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public function testReverseTransformWithIds()
3838
$service->expects(self::exactly(2))
3939
->method('loadLocation')
4040
->willReturnMap([
41-
['123456', null, new Location(['id' => 123456])],
42-
['456789', null, new Location(['id' => 456789])],
41+
['123456', null, null, new Location(['id' => 123456])],
42+
['456789', null, null, new Location(['id' => 456789])],
4343
]);
4444

4545
$transformer = new LocationsTransformer($service);

0 commit comments

Comments
 (0)