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
This commit is contained in:
parent
cb4a9ea174
commit
918dd71257
|
@ -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.' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue