From 918dd71257c2bd808f09d09368619c2f4095cfc1 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Sat, 22 Aug 2015 09:44:48 +0000 Subject: [PATCH] Tests: Fix a typo in function names for `$autoload` tests. Autoload is "no" if the `$autoload` param for `update_option()` is `'no'` or `false`. see #26394. git-svn-id: https://develop.svn.wordpress.org/trunk@33703 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/option/updateOption.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/option/updateOption.php b/tests/phpunit/tests/option/updateOption.php index 208812de0b..4171a73f9f 100644 --- a/tests/phpunit/tests/option/updateOption.php +++ b/tests/phpunit/tests/option/updateOption.php @@ -67,7 +67,7 @@ class Tests_Option_UpdateOption extends WP_UnitTestCase { /** * @ticket 26394 */ - public function test_should_set_autoload_yes_for_nonexistent_option_when_autoload_param_is_no() { + public function test_should_set_autoload_no_for_nonexistent_option_when_autoload_param_is_no() { if ( is_multisite() ) { $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' ); } @@ -92,7 +92,7 @@ class Tests_Option_UpdateOption extends WP_UnitTestCase { /** * @ticket 26394 */ - public function test_should_set_autoload_yes_for_nonexistent_option_when_autoload_param_is_false() { + public function test_should_set_autoload_no_for_nonexistent_option_when_autoload_param_is_false() { if ( is_multisite() ) { $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' ); }