You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run `wp core install --url=example.com/subdir --title=Test --admin_user=wpcli --admin_email=wpcli@example.org --admin_password=password --skip-email`
216
+
# The SQLite object cache drop-in might produce a "no such table: wp_options" STDERR during installation.
217
+
When I try `wp core install --url=example.com/subdir --title=Test --admin_user=wpcli --admin_email=wpcli@example.org --admin_password=password --skip-email`
When I run `wp core install --url=https://example.com --title=Test --admin_user=wpcli --admin_email=wpcli@example.org --admin_password=password --skip-email`
242
+
# The SQLite object cache drop-in might produce a "no such table: wp_options" STDERR during installation.
243
+
When I try `wp core install --url=https://example.com --title=Test --admin_user=wpcli --admin_email=wpcli@example.org --admin_password=password --skip-email`
When I run `wp core install --url=localhost:8001 --title=Test --admin_user=wpcli --admin_email=wpcli@example.org --admin_password='R^^CzY;G"iZ@]H9b,' --skip-email`
268
+
# The SQLite object cache drop-in might produce a "no such table: wp_options" STDERR during installation.
269
+
When I try `wp core install --url=localhost:8001 --title=Test --admin_user=wpcli --admin_email=wpcli@example.org --admin_password='R^^CzY;G"iZ@]H9b,' --skip-email`
# Old versions of WP can generate wpdb database errors if the WP tables don't exist, so STDERR may or may not be empty
292
-
When I run `wp core install --url=example.org --title=Test --admin_user=testadmin --admin_email=testadmin@example.com --admin_password=newpassword --locale=de_DE --skip-email`
302
+
# The SQLite object cache drop-in might produce a "no such table: wp_options" STDERR during installation.
303
+
When I try `wp core install --url=example.org --title=Test --admin_user=testadmin --admin_email=testadmin@example.com --admin_password=newpassword --locale=de_DE --skip-email`
When I run `wp core multisite-install --url=foobar.org --title=Test --admin_user=wpcli --admin_email=admin@example.com --admin_password=password --skip-config`
346
+
# The SQLite object cache drop-in might produce a "no such table: wp_options" STDERR during installation.
347
+
When I try `wp core multisite-install --url=foobar.org --title=Test --admin_user=wpcli --admin_email=admin@example.com --admin_password=password --skip-config`
335
348
Then STDOUT should contain:
336
349
"""
337
350
Addition of multisite constants to 'wp-config.php' skipped. You need to add them manually:
338
351
"""
352
+
And the return code should be 0
339
353
340
354
@require-mysql
341
355
Scenario: Install WordPress multisite with existing multisite constants in wp-config file
When I run `wp core multisite-install --url=foobar.org --title=Test --admin_user=wpcli --admin_email=admin@example.com --admin_password=password --skip-config`
377
+
# The SQLite object cache drop-in might produce a "no such table: wp_options" STDERR during installation.
378
+
When I try `wp core multisite-install --url=foobar.org --title=Test --admin_user=wpcli --admin_email=admin@example.com --admin_password=password --skip-config`
364
379
Then STDOUT should be:
365
380
"""
366
381
Created single site database tables.
367
382
Set up multisite database tables.
368
383
Success: Network installed. Don't forget to set up rewrite rules (and a .htaccess file, if using Apache).
369
384
"""
385
+
And the return code should be 0
370
386
371
387
When I run `wp db query "select * from wp_sitemeta where meta_key = 'site_admins' and meta_value = ''"`
# extra/no-mail.php not present as mu-plugin so skip sending email else will fail on Travis with "sh: 1: -t: not found"
361
-
And I run `wp core install --url=example.com --title="WP Example" --admin_user=wpcli --admin_password=wpcli --admin_email=wpcli@example.com --skip-email`
379
+
# The SQLite object cache drop-in might produce a "no such table: wp_options" STDERR during installation.
380
+
And I try `wp core install --url=example.com --title="WP Example" --admin_user=wpcli --admin_password=wpcli --admin_email=wpcli@example.com --skip-email`
0 commit comments