@@ -85,17 +85,17 @@ Feature: Do global search/replace
8585 Scenario : Run on all tables matching string with wildcard
8686 Given a WP install
8787
88- When I run `wp option set bar foo `
88+ When I run `wp option set bar fooz `
8989 And I run `wp option get bar`
9090 Then STDOUT should be:
9191 """
92- foo
92+ fooz
9393 """
9494
9595 When I run `wp post create --post_title=bar --porcelain`
9696 Then save STDOUT as {POST_ID}
9797
98- When I run `wp post meta add {POST_ID} foo bar`
98+ When I run `wp post meta add {POST_ID} fooz bar`
9999 Then STDOUT should not be empty
100100
101101 When I run `wp search-replace bar burrito wp_post\?`
@@ -113,7 +113,7 @@ Feature: Do global search/replace
113113 burrito
114114 """
115115
116- When I run `wp post meta get {POST_ID} foo `
116+ When I run `wp post meta get {POST_ID} fooz `
117117 Then STDOUT should be:
118118 """
119119 bar
@@ -122,17 +122,17 @@ Feature: Do global search/replace
122122 When I run `wp option get bar`
123123 Then STDOUT should be:
124124 """
125- foo
125+ fooz
126126 """
127127
128- When I try `wp search-replace foo burrito wp_opt\*on`
128+ When I try `wp search-replace fooz burrito wp_opt\*on`
129129 Then STDERR should be:
130130 """
131131 Error: Couldn't find any tables matching: wp_opt*on
132132 """
133133 And the return code should be 1
134134
135- When I run `wp search-replace foo burrito wp_opt\* wp_postme\*`
135+ When I run `wp search-replace fooz burrito wp_opt\* wp_postme\*`
136136 Then STDOUT should be a table containing rows:
137137 | Table | Column | Replacements | Type |
138138 | wp_options | option_value | 1 | PHP |
0 commit comments