Skip to content

Commit afec725

Browse files
committed
AC-14987::company field validation fails for guest checkout
1 parent fba9df8 commit afec725

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,10 @@ public function testValidateAddressesNotSavedInAddressBook()
332332
$this->customerAddressMock->expects($this->once())->method('setFax')->with('9876543210');
333333
$this->customerAddressMock->expects($this->once())->method('setVatId')->with('US123456789');
334334
$this->customerAddressMock->expects($this->once())->method('setRegion')->with($regionMock);
335-
$this->customerAddressMock->expects($this->once())->method('setCustomAttributes')->with(['custom_attr' => 'value']);
335+
$this->customerAddressMock
336+
->expects($this->once())
337+
->method('setCustomAttributes')
338+
->with(['custom_attr' => 'value']);
336339

337340
// Validator to fail
338341
$validatorMock = $this->createMock(Validator::class);

0 commit comments

Comments
 (0)