mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-25 13:44:30 +00:00
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:
@@ -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.' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user