Make WordPress Core


Ignore:
Timestamp:
12/10/2016 12:01:30 AM (10 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Remove some more randomness.

See #37371

File:
1 edited

Legend:

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

    r37223 r39556  
    1818
    1919                $id = self::factory()->network->create();
    20                 $option = rand_str();
    21                 $value = rand_str();
     20                $option = __FUNCTION__;
     21                $value = __FUNCTION__;
    2222
    2323                add_site_option( $option, $value );
     
    3131
    3232                $id = self::factory()->network->create();
    33                 $option = rand_str();
    34                 $value = rand_str();
     33                $option = __FUNCTION__;
     34                $value = __FUNCTION__;
    3535
    3636                add_network_option( $id, $option, $value );
     
    4444
    4545                $id = self::factory()->network->create();
    46                 $option = rand_str();
    47                 $value = rand_str();
     46                $option = __FUNCTION__;
     47                $value = __FUNCTION__;
    4848
    4949                add_site_option( $option, $value );
     
    5757         */
    5858        public function test_add_network_option_is_not_stored_as_autoload_option() {
    59                 $key = rand_str();
     59                $key = __FUNCTION__;
    6060
    6161                if ( is_multisite() ) {
     
    7474         */
    7575        public function test_update_network_option_is_not_stored_as_autoload_option() {
    76                 $key = rand_str();
     76                $key = __FUNCTION__;
    7777
    7878                if ( is_multisite() ) {
Note: See TracChangeset for help on using the changeset viewer.