We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b241a65 + 84f93ad commit 4bc9fccCopy full SHA for 4bc9fcc
dev/tests/integration/testsuite/Magento/Directory/Model/ObserverTest.php
@@ -62,12 +62,12 @@ public function testScheduledUpdateCurrencyRates()
62
{
63
//skipping test if service is unavailable
64
$url = str_replace('{{CURRENCY_FROM}}', 'USD',
65
- \Magento\Directory\Model\Currency\Import\Webservicex::CURRENCY_CONVERTER_URL
+ \Magento\Directory\Model\Currency\Import\Webservicex::CURRENCY_CONVERTER_URL
66
);
67
$url = str_replace('{{CURRENCY_TO}}', 'GBP', $url);
68
try {
69
file_get_contents($url);
70
- } catch (\PHPUnit_Framework_Error_Warning $e) {
+ } catch (\PHPUnit_Framework_Exception $e) {
71
$this->markTestSkipped('http://www.webservicex.net is unavailable ');
72
}
73
0 commit comments