Skip to content

Commit

Permalink
Tests: Add network/site constants to avoid error
Browse files Browse the repository at this point in the history
  • Loading branch information
iandunn committed Jun 21, 2023
1 parent 2890dcc commit 1bf0b75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions phpunit-bootstrap.php
Expand Up @@ -5,6 +5,12 @@
require_once __DIR__ . '/vendor/autoload.php';
}

const WORDCAMP_NETWORK_ID = 1;
const WORDCAMP_ROOT_BLOG_ID = 5;
const EVENTS_NETWORK_ID = 2;
const EVENTS_ROOT_BLOG_ID = 47;
const SITE_ID_CURRENT_SITE = WORDCAMP_NETWORK_ID;

define( 'WP_PLUGIN_DIR', __DIR__ . '/public_html/wp-content/plugins' );
define( 'SUT_WPMU_PLUGIN_DIR', __DIR__ . '/public_html/wp-content/mu-plugins' ); // WPMU_PLUGIN_DIR will be in `WP_TESTS_DIR`.

Expand Down

0 comments on commit 1bf0b75

Please sign in to comment.