Ticket #28637: patch-27023.diff
File patch-27023.diff, 591 bytes (added by , 9 years ago) |
---|
-
tests/phpunit/tests/option/themeMods.php
diff --git a/tests/phpunit/tests/option/themeMods.php b/tests/phpunit/tests/option/themeMods.php index 8bd8f5d..4413685 100644
a b class Tests_Option_Theme_Mods extends WP_UnitTestCase { 32 32 $this->assertEquals( '', get_theme_mod( 'test_remove' ) ); 33 33 } 34 34 35 function test_theme_mod_should_return_default_when_empty_string() { 36 set_theme_mod( 'test_update_default_empty', '' ); 37 $this->assertEquals( 'expected', get_theme_mod( 'test_update_default_empty', 'expected' ) ); 38 } 39 35 40 }