Skip to content

Commit a1d3f04

Browse files
author
Alexander Paliarush
committed
MAGETWO-53159: [GitHub] Country of Manufacture drop down is limited #4579
1 parent 5a427a6 commit a1d3f04

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dev/tests/functional/tests/app/Magento/Backend/Test/Repository/ConfigData.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,10 @@
213213
<item name="Antarctica" xsi:type="string">AQ</item>
214214
<item name="Canada" xsi:type="string">CA</item>
215215
<item name="France" xsi:type="string">FR</item>
216+
<item name="Germany" xsi:type="string">DE</item>
216217
<item name="Italy" xsi:type="string">IT</item>
217218
<item name="Ukraine" xsi:type="string">UA</item>
219+
<item name="United Kingdom" xsi:type="string">GB</item>
218220
<item name="United States" xsi:type="string">US</item>
219221
</item>
220222
</field>

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Product/CreateSimpleProductEntityTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function testCreate(
8585

8686
// Preconditions
8787
$this->objectManager->create(
88-
'Magento\Config\Test\TestStep\SetupConfigurationStep',
88+
\Magento\Config\Test\TestStep\SetupConfigurationStep::class,
8989
['configData' => $this->configData, 'flushCache' => $this->flushCache]
9090
)->run();
9191

@@ -105,10 +105,9 @@ public function testCreate(
105105
*/
106106
public function tearDown()
107107
{
108-
// TODO: Make sure flush is invoked here
109108
$this->objectManager->create(
110-
'Magento\Config\Test\TestStep\SetupConfigurationStep',
111-
['configData' => $this->configData, 'rollback' => true]
109+
\Magento\Config\Test\TestStep\SetupConfigurationStep::class,
110+
['configData' => $this->configData, 'rollback' => true, 'flushCache' => $this->flushCache]
112111
)->run();
113112
}
114113
}

dev/tests/functional/tests/app/Magento/Config/Test/TestStep/SetupConfigurationStep.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ public function run()
9898
}
9999

100100
if ($this->flushCache) {
101-
// TODO: Does not work on rollback
102101
$this->adminCache->open();
103102
$this->adminCache->getActionsBlock()->flushMagentoCache();
104103
$this->adminCache->getMessagesBlock()->waitSuccessMessage();

0 commit comments

Comments
 (0)