mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-28 13:00:19 +00:00
Build/Test Tools: Continue eliminating randomness in tests.
See [38762] See #37371 git-svn-id: https://develop.svn.wordpress.org/trunk@38763 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -480,7 +480,7 @@ class Tests_WP_Customize_Setting extends WP_UnitTestCase {
|
||||
function test_is_current_blog_previewed() {
|
||||
$type = 'option';
|
||||
$name = 'blogname';
|
||||
$post_value = rand_str();
|
||||
$post_value = __FUNCTION__;
|
||||
$this->manager->set_post_value( $name, $post_value );
|
||||
$setting = new WP_Customize_Setting( $this->manager, $name, compact( 'type' ) );
|
||||
$this->assertFalse( $setting->is_current_blog_previewed() );
|
||||
@@ -504,7 +504,7 @@ class Tests_WP_Customize_Setting extends WP_UnitTestCase {
|
||||
|
||||
$type = 'option';
|
||||
$name = 'blogdescription';
|
||||
$post_value = rand_str();
|
||||
$post_value = __FUNCTION__;
|
||||
$this->manager->set_post_value( $name, $post_value );
|
||||
$setting = new WP_Customize_Setting( $this->manager, $name, compact( 'type' ) );
|
||||
$this->assertFalse( $setting->is_current_blog_previewed() );
|
||||
|
||||
Reference in New Issue
Block a user