From a85d190b00564d6983e1155909f0eb70ae9e41b6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 7 Sep 2020 04:11:54 +0000 Subject: [PATCH] Tests: Replace a few instances of `assertNotEquals()` with `assertNotFalse()`. See #38266. git-svn-id: https://develop.svn.wordpress.org/trunk@48954 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/meta.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/tests/meta.php b/tests/phpunit/tests/meta.php index d6869782f6..a99674c973 100644 --- a/tests/phpunit/tests/meta.php +++ b/tests/phpunit/tests/meta.php @@ -372,9 +372,9 @@ class Tests_Meta extends WP_UnitTestCase { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison -- intentional implicit casting check $this->assertTrue( floor( $string_mid ) == $string_mid ); - $this->assertNotEquals( false, get_metadata_by_mid( 'user', $string_mid ) ); - $this->assertNotEquals( false, update_metadata_by_mid( 'user', $string_mid, 'meta_new_value_2' ) ); - $this->assertNotEquals( false, delete_metadata_by_mid( 'user', $string_mid ) ); + $this->assertNotFalse( get_metadata_by_mid( 'user', $string_mid ) ); + $this->assertNotFalse( update_metadata_by_mid( 'user', $string_mid, 'meta_new_value_2' ) ); + $this->assertNotFalse( delete_metadata_by_mid( 'user', $string_mid ) ); } /**