Mark test skipped when not in multisite. See #25883.

git-svn-id: https://develop.svn.wordpress.org/trunk@26305 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2013-11-21 19:13:53 +00:00
parent 36a5af537e
commit 72a3c91855
1 changed files with 4 additions and 0 deletions

View File

@ -95,6 +95,10 @@ class Tests_Option_SiteOption extends WP_UnitTestCase {
* @group multisite
*/
function test_site_notoptions() {
if ( ! is_multisite() ) {
$this->markTestSkipped( 'Should only run in multisite' );
}
global $wpdb;
$notoptions_key = "{$wpdb->siteid}:notoptions";