diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2018-02-12 15:48:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-12 15:48:45 +0300 |
commit | ff1c269bc6866955cdf659288b7dbd695916400a (patch) | |
tree | af7303daf69da816eec7b3dc7c5f55d6ba925925 /tests | |
parent | 4b80a42faf6fb0e71e8a420762ca98f1243254c6 (diff) | |
parent | d1095f97a8d68e05a38d0df5eb51f905a4ebf643 (diff) |
Merge pull request #775 from nextcloud/fix/favicon-integration-test
Fix favicon integration test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Integration/Service/AvatarServiceIntegrationTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Integration/Service/AvatarServiceIntegrationTest.php b/tests/Integration/Service/AvatarServiceIntegrationTest.php index 1630f7642..e776b37a9 100644 --- a/tests/Integration/Service/AvatarServiceIntegrationTest.php +++ b/tests/Integration/Service/AvatarServiceIntegrationTest.php @@ -58,11 +58,11 @@ class AvatarServiceIntegrationTest extends TestCase { $this->assertNotNull($image); } - public function testJansNicknameFavicon() { - $avatar = $this->service->getAvatar('janli@nextcloud.com', 'jane'); + public function testGithubFavicon() { + $avatar = $this->service->getAvatar('no-reply@github.com', 'jane'); $this->assertNotNull($avatar); - $this->assertEquals('https://nextcloud.com/wp-content/themes/next/assets/img/common/favicon.png?x16328', $avatar->getUrl()); - $image = $this->service->getAvatarImage('janli@nextcloud.com', 'jane'); + $this->assertEquals('https://assets-cdn.github.com/favicon.ico', $avatar->getUrl()); + $image = $this->service->getAvatarImage('no-reply@github.com', 'jane'); $this->assertNotNull($image); } |