Make WordPress Core

Changeset 841 in tests for trunk/wp-config-sample.php


Ignore:
Timestamp:
07/01/2012 10:16:31 PM (12 years ago)
Author:
nacin
Message:

Update sample config - you must use this new config for multisite testing. see #100, see #82.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-config-sample.php

    r760 r841  
    3232define( 'WP_TESTS_EMAIL', 'admin@example.org' );
    3333define( 'WP_TESTS_TITLE', 'Test Blog' );
    34 define( 'WP_TESTS_NETWORK_TITLE', 'Test Network' );
    35 define( 'WP_TESTS_SUBDOMAIN_INSTALL', true );
    36 $base = '/';
    3734
     35define( 'WP_TESTS_MULTISITE', false );
     36 
    3837/* Cron tries to make an HTTP request to the blog, which always fails, because tests are run in CLI mode only */
    3938define( 'DISABLE_WP_CRON', true );
    40 
    41 define( 'WP_ALLOW_MULTISITE', false );
    42 if ( WP_ALLOW_MULTISITE ) {
    43     define( 'WP_TESTS_BLOGS', 'first,second,third,fourth' );
    44 }
    45 if ( WP_ALLOW_MULTISITE && ! defined('WP_INSTALLING') ) {
    46     define( 'SUBDOMAIN_INSTALL', WP_TESTS_SUBDOMAIN_INSTALL );
    47     define( 'MULTISITE', true );
    48     define( 'DOMAIN_CURRENT_SITE', WP_TESTS_DOMAIN );
    49     define( 'PATH_CURRENT_SITE', '/' );
    50     define( 'SITE_ID_CURRENT_SITE', 1 );
    51     define( 'BLOG_ID_CURRENT_SITE', 1 );
    52     //define( 'SUNRISE', TRUE );
    53 }
    5439
    5540$table_prefix  = 'wp_';
Note: See TracChangeset for help on using the changeset viewer.