Skip to content

Commit 7eb34bc

Browse files
Merge pull request #2955 from Adyen/ECP-9665
[ECP-9665] Fix RefundDataBuilderTest to solve marketplace submission issue
2 parents 0258e19 + a3cb2fd commit 7eb34bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Test/Unit/Gateway/Request/RefundDataBuilderTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,7 @@ public function testBuild(
252252
]);
253253
}
254254

255-
// phpcs:ignore
256-
$orderPaymentCollectionMock->method('getIterator')->willReturn(new \ArrayObject($objectArray));
255+
$orderPaymentCollectionMock->method('getIterator')->willReturn(new \ArrayIterator($objectArray));
257256
}
258257

259258
$this->orderPaymentCollectionFactoryMock->method('create')->willReturn($orderPaymentCollectionMock);

0 commit comments

Comments
 (0)