Skip to content

Commit 4f6f313

Browse files
author
Hayder Sharhan
committed
MAGETWO-51296: [Github] Multiple calls to getCountryInfo result in a fatal error #3858
- Unit test fix.
1 parent 8ac546a commit 4f6f313

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/Directory/Test/Unit/Model/CountryInformationAcquirerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ public function testGetCountryInfo()
129129
'',
130130
false
131131
);
132-
$countryCollection->expects($this->once())->method('addCountryIdFilter')->willReturnSelf();
133132
$countryCollection->expects($this->once())->method('load')->willReturnSelf();
134133
$countryCollection->expects($this->once())->method('count')->willReturn(1);
135134
$countryCollection->expects($this->once())->method('getItemById')->with('AE')->willReturn($testCountryInfo);
@@ -174,7 +173,6 @@ public function testGetCountryInfoNotFound()
174173
'',
175174
false
176175
);
177-
$countryCollection->expects($this->once())->method('addCountryIdFilter')->willReturnSelf();
178176
$countryCollection->expects($this->once())->method('load')->willReturnSelf();
179177
$countryCollection->expects($this->once())->method('count')->willReturn(0);
180178

0 commit comments

Comments
 (0)