Skip to content

Commit b88b1c3

Browse files
schlesseraclaude
andcommitted
Make the multisite cache scenarios work on WordPress 4.9 and Windows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c5f28f8 commit b88b1c3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎features/behat-steps.feature‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,8 @@ Feature: Test that WP-CLI Behat steps work as expected
507507
subdomain
508508
"""
509509

510-
When I run `wp eval 'wp_insert_site( [ "domain" => "first.example.com", "path" => "/" ] );'`
511-
And I run `wp eval 'echo get_sites( [ "count" => true ] );'`
510+
When I run `wp eval 'wpmu_create_blog( "first.example.com", "/", "First", 1 );'`
511+
And I run `wp eval 'echo get_sites( "count=1" );'`
512512
Then STDOUT should be:
513513
"""
514514
2
@@ -523,7 +523,7 @@ Feature: Test that WP-CLI Behat steps work as expected
523523
subdirectory
524524
"""
525525

526-
When I run `wp eval 'echo get_sites( [ "count" => true ] );'`
526+
When I run `wp eval 'echo get_sites( "count=1" );'`
527527
Then STDOUT should be:
528528
"""
529529
1
@@ -538,7 +538,7 @@ Feature: Test that WP-CLI Behat steps work as expected
538538
subdomain
539539
"""
540540

541-
When I run `wp eval 'echo get_sites( [ "count" => true ] );'`
541+
When I run `wp eval 'echo get_sites( "count=1" );'`
542542
Then STDOUT should be:
543543
"""
544544
1

0 commit comments

Comments
 (0)