diff --git a/Model/Currency/Import/AbstractDto.php b/Model/Currency/Import/AbstractDto.php index 99de094..ba21ffb 100644 --- a/Model/Currency/Import/AbstractDto.php +++ b/Model/Currency/Import/AbstractDto.php @@ -1,11 +1,11 @@ om->getObject($sourceClass); $method = new \ReflectionMethod($source, '_convert'); @@ -41,10 +41,10 @@ public function testSources($sourceClass) public function generateSource() { return [ - [\OxCom\CurrencyServices\Model\Currency\Import\Google::class], - [\OxCom\CurrencyServices\Model\Currency\Import\Yahoo::class], - [\OxCom\CurrencyServices\Model\Currency\Import\Fixer::class], - [\OxCom\CurrencyServices\Model\Currency\Import\Ecb::class], + [\OxCom\MagentoCurrencyServices\Model\Currency\Import\Google::class], + [\OxCom\MagentoCurrencyServices\Model\Currency\Import\Yahoo::class], + [\OxCom\MagentoCurrencyServices\Model\Currency\Import\Fixer::class], + [\OxCom\MagentoCurrencyServices\Model\Currency\Import\Ecb::class], ]; } } diff --git a/tests/bootstrap.php b/Test/bootstrap.php similarity index 100% rename from tests/bootstrap.php rename to Test/bootstrap.php diff --git a/tests/phpunit.xml b/Test/phpunit.xml similarity index 100% rename from tests/phpunit.xml rename to Test/phpunit.xml diff --git a/composer.json b/composer.json index 16e9f25..802b2b0 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ }, "autoload-dev": { "classmap": [ - "tests/Model" + "Test/Model" ] }, "authors": [ @@ -45,13 +45,6 @@ "email": "lancer.oxcom@gmail.com" } ], - "scripts": { - "test": [ - "composer install", - "./vendor/bin/phpcs --standard=psr2 src/ tests/ZendTwig/ tests/Fixture/", - "./vendor/bin/phpunit -c tests/" - ] - }, "repositories": [ { "type": "composer", diff --git a/registration.php b/registration.php index 782ec2b..27566b8 100644 --- a/registration.php +++ b/registration.php @@ -2,6 +2,6 @@ \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, - 'OxCOm_MagentoCurrencyServices', + 'OxCom_MagentoCurrencyServices', __DIR__ );