Skip to content

Commit fbc09a5

Browse files
committed
Fix assertion I broke: option is populated but empty.
1 parent 25b1b6c commit fbc09a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/phpunit/tests/rewrite/randomRewriteRules.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ public function test_random_rewrite_rules_respect_the_random_base(): void {
398398
public function test_random_base_defaults_to_random(): void {
399399
global $wp_rewrite;
400400

401-
$this->assertFalse( get_option( 'wp_random_base' ), 'The wp_random_base option should not be populated on install.' );
401+
$this->assertSame( '', get_option( 'wp_random_base' ), 'The wp_random_base option should be empty on install.' );
402402
$this->assertSame( '', $wp_rewrite->random_base, 'The custom random base property should be empty by default.' );
403403
$this->assertSame( 'random', $wp_rewrite->get_random_base(), 'The random base should default to random.' );
404404
}

0 commit comments

Comments
 (0)