Skip to content

Commit

Permalink
adjust sw versions for travis and remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
reConNico committed Mar 27, 2019
1 parent 93114b1 commit 71f5b67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Expand Up @@ -10,8 +10,6 @@ services:

env:
matrix:
- SHOPWARE_VERSION="5.3"
- SHOPWARE_VERSION="5.4"
- SHOPWARE_VERSION="5.5"
global:
- PLUGIN_NAME=Swark
Expand All @@ -36,7 +34,7 @@ before_script:
- cd ${PLUGIN_DIRECTORY}/${PLUGIN_NAME}

script:
- composer test
- php composer.phar test

after_success:
- bash <(curl -s https://codecov.io/bash) -t 154072dd-333e-48ba-bfa0-b0b0afbf5306
Expand Down
8 changes: 1 addition & 7 deletions Decorator/CurrencyFactoryDecorator.php
Expand Up @@ -28,11 +28,7 @@ public function factory(ContainerAlias $container, Zend_Locale $locale)
$currency = $container->get('Shop')->getCurrency()->getCurrency();
}

// TODO: check if currency is ARK

echo '<pre>';
\Doctrine\Common\Util\Debug::dump('test');
exit;
// TODO: check if current currency is ARK

if ($currency === 'ARK') {
$currency = [
Expand All @@ -41,8 +37,6 @@ public function factory(ContainerAlias $container, Zend_Locale $locale)
];
}

//var_dump($currency); exit;

return new Zend_Currency($currency, $locale);
}
}

0 comments on commit 71f5b67

Please sign in to comment.