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:
parent
94e3540dcc
commit
389fb33d76
|
@ -118,6 +118,10 @@ class Tests_Option_Transient extends WP_UnitTestCase {
|
||||||
* @ticket 30380
|
* @ticket 30380
|
||||||
*/
|
*/
|
||||||
function test_nonexistent_key_old_timeout() {
|
function test_nonexistent_key_old_timeout() {
|
||||||
|
if ( is_multisite() ) {
|
||||||
|
$this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING.' );
|
||||||
|
}
|
||||||
|
|
||||||
// Create a transient
|
// Create a transient
|
||||||
$key = 'test_transient';
|
$key = 'test_transient';
|
||||||
set_transient( $key, 'test', 60 * 10 );
|
set_transient( $key, 'test', 60 * 10 );
|
||||||
|
|
Loading…
Reference in New Issue