Skip to content

Commit

Permalink
MAGETWO-61725: [GITHUB] Improve address save flow to allow to use cus…
Browse files Browse the repository at this point in the history
…tom validators #7552
  • Loading branch information
Aleksandr Osadchyi committed Dec 6, 2016
1 parent f8e3d81 commit 20aaf4c
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,14 +329,6 @@ public function testSaveWithInvalidRegionId()
$this->address->expects($this->once())
->method('updateData')
->with($customerAddress);
$countryModel = $this->getMock(\Magento\Directory\Model\Country::class, [], [], '', false);
$regionCollection = $this->getMock(
\Magento\Directory\Model\ResourceModel\Region\Collection::class,
[],
[],
'',
false
);
$this->address->expects($this->never())
->method('getRegion')
->willReturn('');
Expand Down

0 comments on commit 20aaf4c

Please sign in to comment.