fix for coverage

This commit is contained in:
Akolzin Dmitry 2020-02-18 18:01:27 +03:00
parent 2014deda25
commit b29b4e1a51
2 changed files with 3 additions and 11 deletions

View File

@ -25,12 +25,7 @@
"opencart-dir" : "www" "opencart-dir" : "www"
}, },
"scripts" : { "scripts" : {
"test-admin": "bin/phpunit --testsuite admin-tests --colors=always", "test": "bin/phpunit --testsuite tests --colors=always",
"test-catalog": "bin/phpunit --testsuite catalog-tests --colors=always",
"test": [
"@test-admin",
"@test-catalog"
],
"setup" : "bin/robo --load-from tests/RoboFile.php opencart:setup" "setup" : "bin/robo --load-from tests/RoboFile.php opencart:setup"
} }
} }

View File

@ -10,11 +10,8 @@
stopOnFailure="false" stopOnFailure="false"
syntaxCheck="false"> syntaxCheck="false">
<testsuites> <testsuites>
<testsuite name="catalog-tests"> <testsuite name="tests">
<directory suffix="CatalogTest.php">./tests/catalog/</directory> <directory suffix="Test.php">./tests/</directory>
</testsuite>
<testsuite name="admin-tests">
<directory suffix="AdminTest.php">./tests/admin/</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<php> <php>