Skip to content

Commit

Permalink
[BUGFIX] Correct flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed May 17, 2023
1 parent c99a58a commit 7b7196f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Functional/AvatarProvider/GravatarProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public function testGetAvatarUrlReturnsTypo3TempUrl(): void

$author = (new Author())->setEmail('[email protected]');
$gravatarProvider = new GravatarProvider();
self::assertSame(
'typo3temp/assets/t3g/blog/gravatar/11d0c74f2bb828428a2653332dee06ea.jpeg',
self::assertStringContainsString(
'typo3temp/assets/t3g/blog/gravatar/',
$gravatarProvider->getAvatarUrl($author, 64)
);
}
Expand Down

0 comments on commit 7b7196f

Please sign in to comment.