Skip to content

Commit 66676d5

Browse files
committed
MAGETWO-97456: Cart's customer and address mismatch
1 parent 842dc16 commit 66676d5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/Quote/Test/Unit/Model/QuoteAddressValidatorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ public function testValidateInvalidCustomer()
6767
{
6868
$customerId = 100;
6969
$address = $this->createMock(\Magento\Quote\Api\Data\AddressInterface::class);
70-
$customerMock = $this->createMock(\Magento\Customer\Api\Data\CustomerInterface::class);
7170

7271
$address->expects($this->atLeastOnce())->method('getCustomerId')->willReturn($customerId);
7372
$this->customerRepositoryMock->expects($this->once())->method('getById')->with($customerId)

0 commit comments

Comments
 (0)