Skip to content

Commit 08f9d1f

Browse files
committed
Fix test for WordPress trunk
`siteurl` is not necessarily the first row in `wp_options`. It appears that other options such as `cron` can be first. This removes the option ID from the assertion, as it is not relevant. We only want to verify that the site URL changed.
1 parent d908c57 commit 08f9d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/search-replace-export.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Feature: Search / replace with file export
1414
"""
1515
And STDOUT should contain:
1616
"""
17-
('1', 'siteurl', 'https://example.net',
17+
'siteurl', 'https://example.net',
1818
"""
1919

2020
When I run `wp option get home`

0 commit comments

Comments
 (0)