Merge pull request #51 from creative-commoners/pulls/4/sapphire-test-nine

API phpunit 9 support
This commit is contained in:
Steve Boyd 2021-11-09 15:06:10 +13:00 committed by GitHub
commit 4472888d7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 16 deletions

View File

@ -5,7 +5,7 @@
"homepage": "http://silverstripe.org",
"license": "BSD-3-Clause",
"require": {
"php": "^7.1 || ^8",
"php": "^7.3 || ^8.0",
"silverstripe/recipe-plugin": "^1.5",
"silverstripe/recipe-core": "4.x-dev",
"silverstripe/admin": "1.x-dev",
@ -21,8 +21,7 @@
"silverstripe/session-manager": "1.x-dev"
},
"require-dev": {
"sminnee/phpunit": "^5.7",
"sminnee/phpunit-mock-objects": "^3.4.5"
"phpunit/phpunit": "^9.5"
},
"extra": {
"project-files": [

View File

@ -1,15 +1,17 @@
<phpunit bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true">
<testsuite name="recipe-cms">
<directory>vendor/silverstripe/admin/tests</directory>
<directory>vendor/silverstripe/asset-admin/tests</directory>
<directory>vendor/silverstripe/campaign-admin/tests</directory>
<directory>vendor/silverstripe/cms/tests</directory>
<directory>vendor/silverstripe/errorpage/tests</directory>
<directory>vendor/silverstripe/graphql/tests</directory>
<directory>vendor/silverstripe/reports/tests</directory>
<directory>vendor/silverstripe/session-manager/tests</directory>
<directory>vendor/silverstripe/siteconfig/tests</directory>
<directory>vendor/silverstripe/versioned/tests</directory>
<directory>vendor/silverstripe/versioned-admin/tests</directory>
</testsuite>
<testsuites>
<testsuite name="recipe-cms">
<directory>vendor/silverstripe/admin/tests</directory>
<directory>vendor/silverstripe/asset-admin/tests</directory>
<directory>vendor/silverstripe/campaign-admin/tests</directory>
<directory>vendor/silverstripe/cms/tests</directory>
<directory>vendor/silverstripe/errorpage/tests</directory>
<directory>vendor/silverstripe/graphql/tests</directory>
<directory>vendor/silverstripe/reports/tests</directory>
<directory>vendor/silverstripe/session-manager/tests</directory>
<directory>vendor/silverstripe/siteconfig/tests</directory>
<directory>vendor/silverstripe/versioned/tests</directory>
<directory>vendor/silverstripe/versioned-admin/tests</directory>
</testsuite>
</testsuites>
</phpunit>