mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Customize: Avoid using assertNotFalse() in tests because it's not available in PHPUnit 3.6.
See #35395 git-svn-id: https://develop.svn.wordpress.org/trunk@39020 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6f3e4849fd
commit
765d5feb08
@ -125,7 +125,7 @@ class Test_WP_Customize_Custom_CSS_Setting extends WP_UnitTestCase {
|
||||
$this->wp_customize->set_post_value( $this->setting->id, $updated_css );
|
||||
$saved = $this->setting->save();
|
||||
|
||||
$this->assertNotFalse( $saved );
|
||||
$this->assertTrue( false !== $saved );
|
||||
$this->assertEquals( $updated_css, $this->setting->value() );
|
||||
$this->assertEquals( $updated_css, wp_get_custom_css( $this->setting->stylesheet ) );
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user