Make WordPress Core


Ignore:
Timestamp:
08/22/2015 09:44:48 AM (11 years ago)
Author:
ocean90
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/option/updateOption.php

    r31640 r33703  
    6868         * @ticket 26394
    6969         */
    70         public function test_should_set_autoload_yes_for_nonexistent_option_when_autoload_param_is_no() {
     70        public function test_should_set_autoload_no_for_nonexistent_option_when_autoload_param_is_no() {
    7171                if ( is_multisite() ) {
    7272                        $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' );
     
    9393         * @ticket 26394
    9494         */
    95         public function test_should_set_autoload_yes_for_nonexistent_option_when_autoload_param_is_false() {
     95        public function test_should_set_autoload_no_for_nonexistent_option_when_autoload_param_is_false() {
    9696                if ( is_multisite() ) {
    9797                        $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' );
Note: See TracChangeset for help on using the changeset viewer.