Skip the `Tests_Option_Transient::test_nonexistent_key_old_timeout()` tests on multisite for now.

See #31130
Fixes #30380


git-svn-id: https://develop.svn.wordpress.org/trunk@33125 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2015-07-08 18:23:46 +00:00
parent 94e3540dcc
commit 389fb33d76
1 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,10 @@ class Tests_Option_Transient extends WP_UnitTestCase {
* @ticket 30380
*/
function test_nonexistent_key_old_timeout() {
if ( is_multisite() ) {
$this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING.' );
}
// Create a transient
$key = 'test_transient';
set_transient( $key, 'test', 60 * 10 );