Skip to content

Commit 20aaf4c

Browse files
author
Aleksandr Osadchyi
committed
MAGETWO-61725: [GITHUB] Improve address save flow to allow to use custom validators #7552
1 parent f8e3d81 commit 20aaf4c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/code/Magento/Customer/Test/Unit/Model/ResourceModel/AddressRepositoryTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -329,14 +329,6 @@ public function testSaveWithInvalidRegionId()
329329
$this->address->expects($this->once())
330330
->method('updateData')
331331
->with($customerAddress);
332-
$countryModel = $this->getMock(\Magento\Directory\Model\Country::class, [], [], '', false);
333-
$regionCollection = $this->getMock(
334-
\Magento\Directory\Model\ResourceModel\Region\Collection::class,
335-
[],
336-
[],
337-
'',
338-
false
339-
);
340332
$this->address->expects($this->never())
341333
->method('getRegion')
342334
->willReturn('');

0 commit comments

Comments
 (0)