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 Nov 9, 2021
1 parent 331d357 commit 9cc67ec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ import:

env:
global:
- REQUIRE_EXTRA="silverstripe/gridfieldqueuedexport:^2 symbiote/silverstripe-queuedjobs:^4"
- PHPUNIT_SUITE="recipe-form-building"
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/segment-field": "2.x-dev",
"silverstripe/userforms": "5.x-dev"
},
"require-dev": {
"sminnee/phpunit": "^5.7"
"phpunit/phpunit": "^9.5"
},
"suggest": {
"silverstripe/gridfieldqueuedexport": "Export large data sets from your GridField in the SilverStripe CMS interface through async jobs",
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/cms/tests/bootstrap.php" colors="true">
<testsuite name="recipe-form-building">
<directory>vendor/silverstripe/segment-field/tests</directory>
<directory>vendor/silverstripe/userforms/tests</directory>
<directory>vendor/symbiote/silverstripe-queuedjobs/tests</directory>
</testsuite>
<testsuites>
<testsuite name="recipe-form-building">
<directory>vendor/silverstripe/segment-field/tests</directory>
<directory>vendor/silverstripe/userforms/tests</directory>
<directory>vendor/symbiote/silverstripe-queuedjobs/tests</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 9cc67ec

Please sign in to comment.