Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests for WP 4.7.4 #3

Merged
merged 1 commit into from
Apr 23, 2017
Merged
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions features/core-check-update.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Feature: Check for more recent versions
When I run `wp core check-update`
Then STDOUT should be a table containing rows:
| version | update_type | package_url |
| 4.7.3 | major | https://downloads.wordpress.org/release/wordpress-4.7.3.zip |
| 4.4.8 | minor | https://downloads.wordpress.org/release/wordpress-4.4.8-partial-0.zip |
| 4.7.4 | major | https://downloads.wordpress.org/release/wordpress-4.7.4.zip |
| 4.4.9 | minor | https://downloads.wordpress.org/release/wordpress-4.4.9-partial-0.zip |

When I run `wp core check-update --format=count`
Then STDOUT should be:
Expand All @@ -21,7 +21,7 @@ Feature: Check for more recent versions
When I run `wp core check-update --major`
Then STDOUT should be a table containing rows:
| version | update_type | package_url |
| 4.7.3 | major | https://downloads.wordpress.org/release/wordpress-4.7.3.zip |
| 4.7.4 | major | https://downloads.wordpress.org/release/wordpress-4.7.4.zip |

When I run `wp core check-update --major --format=count`
Then STDOUT should be:
Expand All @@ -32,7 +32,7 @@ Feature: Check for more recent versions
When I run `wp core check-update --minor`
Then STDOUT should be a table containing rows:
| version | update_type | package_url |
| 4.4.8 | minor | https://downloads.wordpress.org/release/wordpress-4.4.8-partial-0.zip |
| 4.4.9 | minor | https://downloads.wordpress.org/release/wordpress-4.4.9-partial-0.zip |

When I run `wp core check-update --minor --format=count`
Then STDOUT should be:
Expand All @@ -53,4 +53,4 @@ Feature: Check for more recent versions
When I run `wp core check-update --minor`
Then STDOUT should be a table containing rows:
| version | update_type | package_url |
| 4.0.16 | minor | https://downloads.wordpress.org/release/wordpress-4.0.16-partial-0.zip |
| 4.0.17 | minor | https://downloads.wordpress.org/release/wordpress-4.0.17-partial-0.zip |
6 changes: 3 additions & 3 deletions features/core-update.feature
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Feature: Update WordPress core
When I run `wp core update --minor`
Then STDOUT should contain:
"""
Updating to version 3.7.19
Updating to version 3.7.20
"""

When I run `wp core update --minor`
Expand All @@ -52,7 +52,7 @@ Feature: Update WordPress core
When I run `wp core version`
Then STDOUT should be:
"""
3.7.19
3.7.20
"""

@less-than-php-7
Expand Down Expand Up @@ -209,7 +209,7 @@ Feature: Update WordPress core
When I run `wp core update --minor`
Then STDOUT should contain:
"""
Updating to version 4.0.16 (en_US)...
Updating to version 4.0.17 (en_US)...
Descargando paquete de instalación desde https://downloads.wordpress.org/release/wordpress-4.0.16-partial-0.zip
"""
And STDOUT should contain:
Expand Down