Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions features/cli.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Feature: `wp cli` tasks

When I run `{PHAR_PATH} cli version`
Then STDOUT should be:
"""
WP-CLI 1.2.3
"""
"""
WP-CLI 1.2.3
"""
And the {FRAMEWORK_ROOT}/VERSION file should be:
"""
{TRUE_VERSION}
"""
"""
{TRUE_VERSION}
"""

@github-api
Scenario: Check for updates
Expand All @@ -22,9 +22,9 @@ Feature: `wp cli` tasks

When I run `{PHAR_PATH} cli check-update`
Then STDOUT should contain:
"""
package_url
"""
"""
package_url
"""
And STDERR should be empty

@github-api
Expand All @@ -48,9 +48,9 @@ Feature: `wp cli` tasks
sha512 hash verified:
"""
And STDOUT should contain:
"""
Success:
"""
"""
Success:
"""
And STDERR should be empty
And the return code should be 0

Expand Down Expand Up @@ -106,13 +106,13 @@ Feature: `wp cli` tasks

When I run `{PHAR_PATH} cli update --no-patch --yes`
Then STDOUT should contain:
"""
Success:
"""
"""
Success:
"""
And STDOUT should not contain:
"""
2.8.1
"""
"""
2.8.1
"""
And STDERR should be empty
And the return code should be 0

Expand Down
Loading