diff --git a/Makefile b/Makefile index c060a84..344a6d0 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ delete_archive: rm -f $(ARCHIVE_NAME) before_script: + mkdir coverage # Change MySQL root password echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root composer install @@ -23,4 +24,4 @@ before_script: sleep 2 covegare: - wget https://phar.phpunit.de/phpcov.phar && php phpcov.phar merge coverage/cov --clover coverage.xml + wget https://phar.phpunit.de/phpcov.phar && php phpcov.phar merge coverage/ --clover coverage.xml diff --git a/composer.json b/composer.json index e457089..cde8ddf 100644 --- a/composer.json +++ b/composer.json @@ -25,8 +25,8 @@ "opencart-dir" : "www" }, "scripts" : { - "test-admin": "bin/phpunit --coverage-php coverage/cov/admin.cov --testsuite tests --colors=always", - "test-catalog": "bin/phpunit --coverage-php coverage/cov/catalog.cov --testsuite catalog-tests --colors=always", + "test-admin": "bin/phpunit --coverage-php coverage/admin.cov --testsuite tests --colors=always", + "test-catalog": "bin/phpunit --coverage-php coverage/catalog.cov --testsuite catalog-tests --colors=always", "test": [ "@test-admin", "@test-catalog"