Skip to content

Commit

Permalink
API phpunit 9 support
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Oct 27, 2021
1 parent f48f3fe commit 8ff2fed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"homepage": "https://www.silverstripe.org",
"license": "BSD-3-Clause",
"require": {
"php": "^7.3 || ^8.0",
"silverstripe/recipe-plugin": "^1",
"silverstripe/recipe-cms": "4.x-dev",
"silverstripe/restfulserver": "2.x-dev",
"silverstripe/versionfeed": "2.x-dev"
},
"require-dev": {
"sminnee/phpunit": "^5.7"
"phpunit/phpunit": "^9.5"
},
"extra": {
"project-files": []
Expand Down
10 changes: 6 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<phpunit bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true">
<testsuite name="recipe-services">
<directory>vendor/silverstripe/restfulserver/tests</directory>
<directory>vendor/silverstripe/versionfeed/tests</directory>
</testsuite>
<testsuites>
<testsuite name="recipe-services">
<directory>vendor/silverstripe/restfulserver/tests</directory>
<directory>vendor/silverstripe/versionfeed/tests</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 8ff2fed

Please sign in to comment.