We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 706d918 commit cc74870Copy full SHA for cc74870
app/code/Magento/Customer/Test/Unit/Model/ResourceModel/AddressRepositoryTest.php
@@ -211,9 +211,9 @@ public function testSave()
211
$this->address->expects($this->once())
212
->method('getShouldIgnoreValidation')
213
->willReturn(true);
214
- $this->directoryData->expects($this->once())
215
- ->method('getCountriesWithOptionalZip')
216
- ->willReturn([1]);
+ $this->address->expects($this->once())
+ ->method('validate')
+ ->willReturn(true);
217
218
$this->repository->save($customerAddress);
219
}
0 commit comments