Skip to content

Commit 8d65105

Browse files
Copilotswissspidy
andcommitted
Update test to include search string in generated post content
Modified the "Progress bar shows when not in verbose mode" test to generate posts with content containing http://example.com. This ensures the progress bar has matching rows to process and display when using the --precise flag. Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 1f1bb20 commit 8d65105

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

features/search-replace.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ Feature: Do global search/replace
13961396
@require-mysql
13971397
Scenario: Progress bar shows when not in verbose mode
13981398
Given a WP install
1399-
And I run `wp post generate --count=100`
1399+
And I run `wp post generate --count=100 --post_content="Visit http://example.com for more info"`
14001400

14011401
When I run `wp search-replace http://example.com http://example.org --precise`
14021402
Then STDOUT should contain:

0 commit comments

Comments
 (0)