11Feature : Search / replace with file export
22
3+ @require-mysql
34 Scenario : Search / replace export to STDOUT
45 Given a WP install
56 And I run `echo ' ' `
@@ -76,6 +77,7 @@ Feature: Search / replace with file export
7677 https://example.net
7778 """
7879
80+ @require-mysql
7981 Scenario : Search / replace export to file
8082 Given a WP install
8183 And I run `wp post generate --count=100`
@@ -129,6 +131,7 @@ Feature: Search / replace with file export
129131 101
130132 """
131133
134+ @require-mysql
132135 Scenario : Search / replace export to file with verbosity
133136 Given a WP install
134137
@@ -151,6 +154,7 @@ Feature: Search / replace with file export
151154 Error: You cannot supply --dry-run and --export at the same time.
152155 """
153156
157+ @require-mysql
154158 Scenario : Search / replace shouldn't affect primary key
155159 Given a WP install
156160 And I run `wp post create --post_title=foo --porcelain`
@@ -191,6 +195,7 @@ Feature: Search / replace with file export
191195 Error: Unable to open export file "foo/bar.sql" for writing:
192196 """
193197
198+ @require-mysql
194199 Scenario : Search / replace specific table
195200 Given a WP install
196201
@@ -225,6 +230,7 @@ Feature: Search / replace with file export
225230 foo
226231 """
227232
233+ @require-mysql
228234 Scenario : Search / replace export should cater for field/table names that use reserved words or unusual characters
229235 Given a WP install
230236 # Unlike search-replace.features version, don't use `back``tick` column name as WP_CLI\Iterators\Table::build_fields() can't handle it.
@@ -268,6 +274,7 @@ Feature: Search / replace with file export
268274 """
269275 And STDERR should be empty
270276
277+ @require-mysql
271278 Scenario : Suppress report or only report changes on export to file
272279 Given a WP install
273280
@@ -365,6 +372,7 @@ Feature: Search / replace with file export
365372 """
366373 And STDERR should be empty
367374
375+ @require-mysql
368376 Scenario : Search / replace should remove placeholder escape on export
369377 Given a WP install
370378 And I run `wp post create --post_title=test-remove-placeholder-escape% --porcelain`
@@ -380,6 +388,7 @@ Feature: Search / replace with file export
380388 'test-remove-placeholder-escape{'
381389 """
382390
391+ @require-mysql
383392 Scenario : NULLs exported as NULL and not null string
384393 Given a WP install
385394 And I run `wp db query "INSERT INTO wp_postmeta VALUES (9999, 9999, NULL, 'foo')" `
0 commit comments