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 <christoph@winzerhof-wurst.at>2018-02-12 14:58:50 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-02-12 14:58:50 +0300
commitd1095f97a8d68e05a38d0df5eb51f905a4ebf643 (patch)
tree4bb9fd4f79e07d66dcfa3e869fcb41c674c7f9c6 /tests
parent64fb41a6ec7869fe9a17580d3da8f8ae0572e6ef (diff)
Fix favicon integration test
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
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 563a35820..a27db3a7d 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);
}