Skip to content

Commit

Permalink
Tests: Fix tests referencing trunk/nightly (#238)
Browse files Browse the repository at this point in the history
* Tests: Only download trunk/nightly on PHP 7+

* Fix another scenario
  • Loading branch information
swissspidy committed Jul 13, 2023
1 parent 169625a commit fb302c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/core-update.feature
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ Feature: Update WordPress core
When I run `wp post create --post_title='Test post' --porcelain`
Then STDOUT should be a number

@require-php-5.6
@require-php-7.0
Scenario Outline: Use `--version=(nightly|trunk)` to update to the latest nightly version
Given a WP install

Expand All @@ -349,7 +349,7 @@ Feature: Update WordPress core
| trunk |
| nightly |

@require-php-5.6
@require-php-7.0
Scenario: Installing latest nightly build should skip cache
Given a WP install

Expand Down

0 comments on commit fb302c3

Please sign in to comment.