Skip to content

Commit c10f5e9

Browse files
committed
ACPT-1450: fix unit tests failures
1 parent f08ed01 commit c10f5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/SalesRule/Test/Unit/Model/ValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ protected function setupAddressMock(
714714
->getMock();
715715
$cartExtensionMock = $this->getMockBuilder(CartExtensionInterface::class)
716716
->disableOriginalConstructor()
717-
->onlyMethods(['getShippingAssignments'])
717+
->addMethods(['getShippingAssignments'])
718718
->getMockForAbstractClass();
719719

720720
$quoteMock->method('getStore')

0 commit comments

Comments
 (0)