Skip to content

Commit 84848b5

Browse files
MAGETWO-99424: "0" in country dropdown list when allowed countries differs from top destinations
1 parent 9031354 commit 84848b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Directory/Test/Unit/Model/ResourceModel/Country/CollectionTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ public function toOptionArrayDataProvider()
122122
[$optionsArray, false, 'US', ['US', 'AD', 'ES', 'BZ']],
123123
[$optionsArray, false, ['US', 'BZ'], ['US', 'BZ', 'AD', 'ES']],
124124
[$optionsArray, ' ', 'US', [' ', 'US', ' ', 'AD', 'ES', 'BZ']],
125-
[$optionsArray, ' ', [], [' ', 'AD', 'US', 'ES', 'BZ']]
125+
[$optionsArray, ' ', [], [' ', 'AD', 'US', 'ES', 'BZ']],
126+
[$optionsArray, ' ', 'UA', [' ', 'AD', ' ', 'US', 'ES', 'BZ']],
127+
[$optionsArray, ' ', ['AF', 'UA'], [' ', 'AD', 'US', ' ', 'ES', 'BZ']],
126128
];
127129
}
128130
}

0 commit comments

Comments
 (0)