Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2018-02-12 15:48:45 +0300
committerGitHub <noreply@github.com>2018-02-12 15:48:45 +0300
commitff1c269bc6866955cdf659288b7dbd695916400a (patch)
treeaf7303daf69da816eec7b3dc7c5f55d6ba925925 /tests
parent4b80a42faf6fb0e71e8a420762ca98f1243254c6 (diff)
parentd1095f97a8d68e05a38d0df5eb51f905a4ebf643 (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.php8
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);
}