@@ -23,22 +23,21 @@ Feature: Search / replace with file export
23
23
When I run `wp search-replace example.com example.net --skip-tables=wp_options --export`
24
24
Then STDOUT should not contain:
25
25
"""
26
- INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES
27
- ('1', 'siteurl', 'http://example.com', 'yes'),
26
+ INSERT INTO `wp_options`
28
27
"""
29
28
30
29
When I run `wp search-replace example.com example.net --skip-columns=option_value --export`
31
30
Then STDOUT should contain:
32
31
"""
33
- INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES
32
+ INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES
34
33
('1', 'siteurl', 'http://example.com', 'yes'),
35
34
"""
36
35
37
36
When I run `wp search-replace example.com example.net --skip-columns=option_value --export --export_insert_size=1`
38
37
Then STDOUT should contain:
39
38
"""
40
39
('1', 'siteurl', 'http://example.com', 'yes');
41
- INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES
40
+ INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES
42
41
"""
43
42
44
43
When I run `wp search-replace foo bar --export | tail -n 1`
0 commit comments