Skip to content

Commit

Permalink
Fix later assertions as well
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed May 7, 2024
1 parent d2db8f5 commit e1815cf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions features/search-replace-export.feature
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,19 @@ Feature: Search / replace with file export
Then STDOUT should contain:
"""
INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES{SPACE}
('1', 'siteurl', 'https://example.com', 'yes'),
"""
And STDOUT should contain:
"""
('1', 'siteurl', 'https://example.com'
"""

When I run `wp search-replace example.com example.net --skip-columns=option_value --export --export_insert_size=1`
Then STDOUT should contain:
"""
('1', 'siteurl', 'https://example.com', 'yes');
('1', 'siteurl', 'https://example.com'
"""
And STDOUT should contain:
"""
INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES{SPACE}
"""

Expand Down

0 comments on commit e1815cf

Please sign in to comment.