From 765d5feb085ef65a87396a22c68bda91b401b469 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sun, 30 Oct 2016 15:41:49 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/customize/custom-css-setting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/customize/custom-css-setting.php b/tests/phpunit/tests/customize/custom-css-setting.php index 898ca610c0..d1d2a18124 100644 --- a/tests/phpunit/tests/customize/custom-css-setting.php +++ b/tests/phpunit/tests/customize/custom-css-setting.php @@ -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 ) );