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"
},
"scripts" : {
"test-admin": "bin/phpunit --testsuite admin-tests --colors=always",
"test-catalog": "bin/phpunit --testsuite catalog-tests --colors=always",
"test": [
"@test-admin",
"@test-catalog"
],
"test": "bin/phpunit --testsuite tests --colors=always",
"setup" : "bin/robo --load-from tests/RoboFile.php opencart:setup"
}
}

View File

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