From 06caa4bb37a3d5e82abac4a5399090ecbec4c09d Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 28 Sep 2015 16:27:18 +0000 Subject: [PATCH] Avoid using `assertNotFalse()` which is only available in phpunit >= 4.0.0 See #33070 git-svn-id: https://develop.svn.wordpress.org/trunk@34664 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/post/thumbnails.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/post/thumbnails.php b/tests/phpunit/tests/post/thumbnails.php index 803c16c8c6..ee6a2dc333 100644 --- a/tests/phpunit/tests/post/thumbnails.php +++ b/tests/phpunit/tests/post/thumbnails.php @@ -141,7 +141,7 @@ class Tests_Post_Thumbnail_Template extends WP_UnitTestCase { set_post_thumbnail( $post, $this->attachment_id ); - $this->assertNotFalse( get_the_post_thumbnail_url( $post->ID ) ); + $this->assertTrue( false !== get_the_post_thumbnail_url( $post->ID ) ); $deleted = wp_delete_post( $post->ID, true ); $this->assertNotEmpty( $deleted );