Changeset 47554 for trunk/tests/phpunit/tests/avatar.php
- Timestamp:
- 04/08/2020 12:53:18 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/avatar.php
r46586 r47554 170 170 public function test_get_avatar() { 171 171 $img = get_avatar( 1 ); 172 $this->assertEquals( preg_match( "|^<img alt='[^']*' src='[^']*' srcset='[^']*' class='[^']*' height='[^']*' width='[^']*' />$|", $img ), 1 );172 $this->assertEquals( preg_match( "|^<img alt='[^']*' src='[^']*' srcset='[^']*' class='[^']*' height='[^']*' width='[^']*' loading='lazy'/>$|", $img ), 1 ); 173 173 } 174 174
Note: See TracChangeset
for help on using the changeset viewer.