Skip to content

Commit e794913

Browse files
Tweak various bits to get the tests running again (#66)
* Add a `behat.yml` so tests run as expected * Bump `wp-cli/wp-cli-tests` to v3 * Bump platform requirements to PHP 5.6 * Behat dependency shouldn't be necessary * Update `branch-alias`
1 parent 8333a00 commit e794913

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

behat.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
default:
2+
suites:
3+
default:
4+
contexts:
5+
- WP_CLI\Tests\Context\FeatureContext
6+
paths:
7+
- features

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@
1616
"wp-cli/wp-cli": "^2"
1717
},
1818
"require-dev": {
19-
"behat/behat": "~2.5",
20-
"wp-cli/wp-cli-tests": "^2.1"
19+
"wp-cli/wp-cli-tests": "^3.1"
2120
},
2221
"config": {
2322
"platform": {
24-
"php": "5.4"
23+
"php": "5.6"
2524
},
2625
"process-timeout": 7200,
2726
"sort-packages": true,
@@ -45,7 +44,7 @@
4544
},
4645
"extra": {
4746
"branch-alias": {
48-
"dev-main": "1.x-dev"
47+
"dev-main": "2.x-dev"
4948
},
5049
"commands": [
5150
"find"

0 commit comments

Comments
 (0)