File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,9 +256,10 @@ Feature: Do global search/replace
256256 And I run `wp eval-file setup-theme-mod.php`
257257
258258 When I run `wp theme mod get header_image_data`
259- Then STDOUT should be a table containing rows:
260- | key | value |
261- | header_image_data | {"url ":"https :\/\/subdomain .example .com \/foo .jpg "} |
259+ Then STDOUT should contain:
260+ """
261+ https://subdomain.example.com/foo.jpg
262+ """
262263
263264 When I run `wp search-replace subdomain.example.com example.com --no-recurse-objects`
264265 Then STDOUT should be a table containing rows:
@@ -271,9 +272,10 @@ Feature: Do global search/replace
271272 | wp_options | option_value | 1 | PHP |
272273
273274 When I run `wp theme mod get header_image_data`
274- Then STDOUT should be a table containing rows:
275- | key | value |
276- | header_image_data | {"url ":"https :\/\/example .com \/foo .jpg "} |
275+ Then STDOUT should contain:
276+ """
277+ url https://example.com/foo.jpg
278+ """
277279
278280 @require-mysql
279281 Scenario : Search and replace handles JSON-encoded URLs in post content
You can’t perform that action at this time.
0 commit comments