Changeset 51565 for trunk/tests/phpunit/tests/avatar.php
- Timestamp:
- 08/06/2021 09:52:06 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/avatar.php
r48937 r51565 258 258 259 259 $this->assertTrue( is_avatar_comment_type( $comment_type ) ); 260 $this->assert Regexp( '|^http?://[0-9]+.gravatar.com/avatar/[0-9a-f]{32}\?|', $actual_data['url'] );260 $this->assertMatchesRegularExpression( '|^http?://[0-9]+.gravatar.com/avatar/[0-9a-f]{32}\?|', $actual_data['url'] ); 261 261 } 262 262
Note: See TracChangeset
for help on using the changeset viewer.