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
This commit is contained in:
parent
3b585cd9ca
commit
22f174c106
@ -158,7 +158,7 @@ class Tests_Avatar extends WP_UnitTestCase {
|
||||
|
||||
public function test_get_avatar() {
|
||||
$img = get_avatar( 1 );
|
||||
$this->assertEquals( preg_match( "|^<img alt='[^']*' src='[^']*' class='[^']*' height='[^']*' width='[^']*' />$|", $img ), 1 );
|
||||
$this->assertEquals( preg_match( "|^<img alt='[^']*' src='[^']*' srcset='[^']*' class='[^']*' height='[^']*' width='[^']*' />$|", $img ), 1 );
|
||||
}
|
||||
|
||||
public function test_get_avatar_size() {
|
||||
|
Loading…
Reference in New Issue
Block a user