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:
John Blackbourn
2016-10-09 01:29:04 +00:00
parent c91be6f1fe
commit b4f01bb97f
9 changed files with 110 additions and 110 deletions

View File

@@ -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() );