Skip to content

Commit

Permalink
add a positive condition to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurélien Joahny committed Jul 24, 2019
1 parent 2545c1a commit c270da0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions features/search-replace-export.feature
Expand Up @@ -39,6 +39,10 @@ Feature: Search / replace with file export
"""
wp_options
"""
And STDOUT should contain:
"""
wp_users
"""

When I run `wp search-replace example.com example.net --skip-columns=option_value --export`
Then STDOUT should contain:
Expand Down
4 changes: 4 additions & 0 deletions features/search-replace.feature
Expand Up @@ -24,6 +24,10 @@ Feature: Do global search/replace
"""
wp_postmeta
"""
And STDOUT should contain:
"""
wp_users
"""

When I run `wp search-replace foo bar --skip-columns=guid`
Then STDOUT should not contain:
Expand Down

0 comments on commit c270da0

Please sign in to comment.