From 22f174c106d8eadb6c200872be8e122d9ea0de54 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Wed, 11 Mar 2015 20:11:38 +0000 Subject: [PATCH] Fix a unit test after [31721]. props jipmoors. see #22329. git-svn-id: https://develop.svn.wordpress.org/trunk@31728 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/avatar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/avatar.php b/tests/phpunit/tests/avatar.php index 0bb60920a1..5b35fe45aa 100755 --- a/tests/phpunit/tests/avatar.php +++ b/tests/phpunit/tests/avatar.php @@ -158,7 +158,7 @@ class Tests_Avatar extends WP_UnitTestCase { public function test_get_avatar() { $img = get_avatar( 1 ); - $this->assertEquals( preg_match( "|^[^$|", $img ), 1 ); + $this->assertEquals( preg_match( "|^[^$|", $img ), 1 ); } public function test_get_avatar_size() {