Skip to content

Commit f083622

Browse files
committed
MAGETWO-32820: CurrencySymbol Tests Coverage
- fix tests. Removed CurrencySymbol "EUR" from the tests
1 parent 291c235 commit f083622

File tree

3 files changed

+4
-22
lines changed

3 files changed

+4
-22
lines changed

dev/tests/integration/testsuite/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol/IndexTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ class IndexTest extends \Magento\Backend\Utility\Controller
1010
/**
1111
* Test index action
1212
*
13-
* @magentoConfigFixture currency/options/allow EUR, USD
14-
* @magentoDataFixture Magento/CurrencySymbol/_files/currency_symbol.php
13+
* @magentoConfigFixture currency/options/allow USD
14+
* @magentoAppIsolation enabled
1515
* @magentoDbIsolation enabled
1616
*/
1717
public function testIndexAction()
@@ -21,7 +21,6 @@ public function testIndexAction()
2121
$body = $this->getResponse()->getBody();
2222
$this->assertContains('id="currency-symbols-form"', $body);
2323
$this->assertContains('<input id="custom_currency_symbolUSD"', $body);
24-
$this->assertContains('<input id="custom_currency_symbolEUR"', $body);
2524
$this->assertContains('save primary save-currency-symbols', $body);
2625
}
2726
}

dev/tests/integration/testsuite/Magento/CurrencySymbol/Controller/Adminhtml/System/Currencysymbol/SaveTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ class SaveTest extends \Magento\Backend\Utility\Controller
1111
/**
1212
* Test save action
1313
*
14-
* @magentoConfigFixture currency/options/allow EUR, USD
15-
* @magentoDataFixture Magento/CurrencySymbol/_files/currency_symbol.php
14+
* @magentoConfigFixture currency/options/allow USD
1615
* @magentoDbIsolation enabled
1716
* @magentoAppIsolation enabled
1817
* @dataProvider currencySymbolDataProvider
@@ -49,7 +48,7 @@ public function currencySymbolDataProvider()
4948
{
5049
return [
5150
['USD', 'customSymbolUSD', 'customSymbolUSD'],
52-
['EUR', '<script>customSymbolEUR</script>', 'customSymbolEUR']
51+
['USD', '<script>customSymbolUSD</script>', 'customSymbolUSD']
5352
];
5453
}
5554
}

dev/tests/integration/testsuite/Magento/CurrencySymbol/_files/currency_symbol.php

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)