diff --git a/tests/phpunit/tests/option/option.php b/tests/phpunit/tests/option/option.php index 67794eb7a219c..89bf3702caa7a 100644 --- a/tests/phpunit/tests/option/option.php +++ b/tests/phpunit/tests/option/option.php @@ -557,9 +557,9 @@ public function test_add_option_clears_the_notoptions_cache() { * @dataProvider data_get_option_does_not_hit_the_external_cache_multiple_times_for_the_same_option * * @param bool $option_exists Whether the option should be set. - * @param string $autoload Whether the option should be auto loaded. + * @param string $autoload Whether the option should be auto loaded. Default true. */ - public function test_get_option_does_not_hit_the_external_cache_multiple_times_for_the_same_option( $option_exists = true, $autoload ) { + public function test_get_option_does_not_hit_the_external_cache_multiple_times_for_the_same_option( $option_exists = true, $autoload = true ) { if ( $option_exists ) { add_option( 'ticket-62692', 'value', '', $autoload ); }