Skip to content

Commit 1140ace

Browse files
committed
Fix broken GUID test
1 parent df1092f commit 1140ace

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/search-replace.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,13 @@ Feature: Do global search/replace
283283
Given a WP install
284284
And I run `wp option get siteurl`
285285
And save STDOUT as {SITEURL}
286+
And I run `wp site empty --yes`
286287
And I run `wp post generate --count=20`
287288

288289
When I run `wp search-replace <flags> {SITEURL} <replacement>`
289290
Then STDOUT should be a table containing rows:
290291
| Table | Column | Replacements | Type |
291-
| wp_posts | guid | 22 | SQL |
292+
| wp_posts | guid | 20 | SQL |
292293

293294
Examples:
294295
| replacement | flags |

0 commit comments

Comments
 (0)