File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -225,9 +225,12 @@ Feature: Manage core translation files for a WordPress install
225225 Given an empty directory
226226 And WP files
227227 And a database
228- And I run `wp core download --version=<original> --force`
228+ And I try `wp core download --version=<original> --force`
229+ And the return code should be 0
229230 And wp-config.php
230- And I run `wp core install --url='localhost:8001' --title='Test' --admin_user=wpcli --admin_email=admin@example.com --admin_password=1`
231+ # The SQLite object cache drop-in might produce a "no such table: wp_options" STDERR during installation.
232+ And I try `wp core install --url='localhost:8001' --title='Test' --admin_user=wpcli --admin_email=admin@example.com --admin_password=1`
233+ And the return code should be 0
231234
232235 When I run `wp language core list --fields=language,status,update`
233236 Then STDOUT should be a table containing rows:
@@ -505,9 +508,12 @@ Feature: Manage core translation files for a WordPress install
505508 Given an empty directory
506509 And WP files
507510 And a database
508- And I run `wp core download --version=<original> --force`
511+ And I try `wp core download --version=<original> --force`
512+ And the return code should be 0
509513 And wp-config.php
510- And I run `wp core install --url='localhost:8001' --title='Test' --admin_user=wpcli --admin_email=admin@example.com --admin_password=1`
514+ # The SQLite object cache drop-in might produce a "no such table: wp_options" STDERR during installation.
515+ And I try `wp core install --url='localhost:8001' --title='Test' --admin_user=wpcli --admin_email=admin@example.com --admin_password=1`
516+ And the return code should be 0
511517
512518 When I run `wp language core install en_CA ja`
513519 Then STDERR should be empty
You can’t perform that action at this time.
0 commit comments