Skip to content

Commit c270da0

Browse files
author
Aurélien Joahny
committed
add a positive condition to tests
1 parent 2545c1a commit c270da0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

features/search-replace-export.feature

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ Feature: Search / replace with file export
3939
"""
4040
wp_options
4141
"""
42+
And STDOUT should contain:
43+
"""
44+
wp_users
45+
"""
4246

4347
When I run `wp search-replace example.com example.net --skip-columns=option_value --export`
4448
Then STDOUT should contain:

features/search-replace.feature

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ Feature: Do global search/replace
2424
"""
2525
wp_postmeta
2626
"""
27+
And STDOUT should contain:
28+
"""
29+
wp_users
30+
"""
2731

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

0 commit comments

Comments
 (0)