mirror of
https://ghproxy.net/https://github.com/wp-cli/wp-cli-bundle.git
synced 2025-10-04 00:18:16 +08:00
Update versions used in tests
This commit is contained in:
parent
f409e754bc
commit
970c079695
1 changed files with 10 additions and 10 deletions
|
@ -6,7 +6,7 @@ Feature: Install WP-CLI packages
|
|||
|
||||
Scenario: Install a package requiring a WP-CLI version that doesn't match
|
||||
Given an empty directory
|
||||
And a new Phar with version "2.8.0"
|
||||
And a new Phar with version "2.10.0"
|
||||
And a path-command/command.php file:
|
||||
"""
|
||||
<?php
|
||||
|
@ -25,7 +25,7 @@ Feature: Install WP-CLI packages
|
|||
"files": [ "command.php" ]
|
||||
},
|
||||
"require": {
|
||||
"wp-cli/wp-cli": ">=2.9.0"
|
||||
"wp-cli/wp-cli": ">=2.11.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"behat/behat": "~2.5"
|
||||
|
@ -44,7 +44,7 @@ Feature: Install WP-CLI packages
|
|||
"""
|
||||
And STDOUT should contain:
|
||||
"""
|
||||
wp-cli/wp-cli >=2.9.0 -> satisfiable by
|
||||
wp-cli/wp-cli >=2.11.0 -> satisfiable by
|
||||
"""
|
||||
And STDERR should contain:
|
||||
"""
|
||||
|
@ -55,12 +55,12 @@ Feature: Install WP-CLI packages
|
|||
When I run `cat {PACKAGE_PATH}composer.json`
|
||||
Then STDOUT should contain:
|
||||
"""
|
||||
"version": "2.8.0",
|
||||
"version": "2.10.0",
|
||||
"""
|
||||
|
||||
Scenario: Install a package requiring a WP-CLI version that does match
|
||||
Given an empty directory
|
||||
And a new Phar with version "2.8.0"
|
||||
And a new Phar with version "2.11.0"
|
||||
And a path-command/command.php file:
|
||||
"""
|
||||
<?php
|
||||
|
@ -79,7 +79,7 @@ Feature: Install WP-CLI packages
|
|||
"files": [ "command.php" ]
|
||||
},
|
||||
"require": {
|
||||
"wp-cli/wp-cli": ">=2.7.0"
|
||||
"wp-cli/wp-cli": ">=2.10.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"behat/behat": "~2.5"
|
||||
|
@ -98,12 +98,12 @@ Feature: Install WP-CLI packages
|
|||
When I run `cat {PACKAGE_PATH}composer.json`
|
||||
Then STDOUT should contain:
|
||||
"""
|
||||
"version": "2.8.0",
|
||||
"version": "2.11.0",
|
||||
"""
|
||||
|
||||
Scenario: Install a package requiring a WP-CLI alpha version that does match
|
||||
Given an empty directory
|
||||
And a new Phar with version "2.8.0-alpha-90ecad6"
|
||||
And a new Phar with version "2.12.0-alpha-90ecad6"
|
||||
And a path-command/command.php file:
|
||||
"""
|
||||
<?php
|
||||
|
@ -122,7 +122,7 @@ Feature: Install WP-CLI packages
|
|||
"files": [ "command.php" ]
|
||||
},
|
||||
"require": {
|
||||
"wp-cli/wp-cli": ">=2.7.0"
|
||||
"wp-cli/wp-cli": ">=2.11.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"behat/behat": "~2.5"
|
||||
|
@ -141,5 +141,5 @@ Feature: Install WP-CLI packages
|
|||
When I run `cat {PACKAGE_PATH}composer.json`
|
||||
Then STDOUT should contain:
|
||||
"""
|
||||
"version": "2.8.0-alpha",
|
||||
"version": "2.12.0-alpha",
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue