You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/search-replace.feature
+14-18
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,6 @@ Feature: Do global search/replace
41
41
| Table | Column | Replacements | Type |
42
42
| wp_posts | post_content | 0 | SQL |
43
43
44
-
45
44
@require-mysql
46
45
Scenario: Multisite search/replace
47
46
Given a WP multisite install
@@ -104,7 +103,7 @@ Feature: Do global search/replace
104
103
Then STDOUT should not be empty
105
104
106
105
When I run `wp search-replace bar burrito wp_post\?`
107
-
AndSTDOUT should be a table containing rows:
106
+
ThenSTDOUT should be a table containing rows:
108
107
| Table | Column | Replacements | Type |
109
108
| wp_posts | post_title | 1 | SQL |
110
109
And STDOUT should not contain:
@@ -673,7 +672,7 @@ Feature: Do global search/replace
673
672
| no_key | | skipped | |
674
673
And STDERR should be empty
675
674
676
-
AndI run `wp search-replace foo bar no_key --report-changed-only --all-tables`
675
+
WhenI run `wp search-replace foo bar no_key --report-changed-only --all-tables`
677
676
Then STDOUT should contain:
678
677
"""
679
678
Success: Made 0 replacements.
@@ -817,8 +816,7 @@ Feature: Do global search/replace
817
816
And STDERR should be empty
818
817
819
818
When I run `wp option set foobar '_bar1_ _bar1_12345678901234567890123456789012345678901234567890_bar1_ _bar1_1234567890123456789012345678901234567890'`
820
-
821
-
When I run `wp search-replace '_bar1_''_baz1_' wp_options --log`
819
+
And I run `wp search-replace '_bar1_''_baz1_' wp_options --log`
0 commit comments