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 19, 2021
1 parent 19f0726 commit d423fe0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"silverstripe/mimevalidator": "2.x-dev"
},
"require-dev": {
"sminnee/phpunit": "^5.7",
"sminnee/phpunit-mock-objects": "^3.4.5"
"phpunit/phpunit": "^9"
},
"extra": {
"project-files": [
Expand Down
12 changes: 7 additions & 5 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<phpunit bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true">
<testsuite name="recipe-core">
<directory>vendor/silverstripe/assets/tests</directory>
<directory>vendor/silverstripe/config/tests</directory>
<directory>vendor/silverstripe/framework/tests</directory>
</testsuite>
<testsuites>
<testsuite name="recipe-core">
<directory>vendor/silverstripe/assets/tests</directory>
<directory>vendor/silverstripe/config/tests</directory>
<directory>vendor/silverstripe/framework/tests</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit d423fe0

Please sign in to comment.