aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-10-23 15:14:10 +0200
committerGitHub <noreply@github.com>2018-10-23 15:14:10 +0200
commit171fe69db7cbb674ff80ea4ed6d3506d5c409a05 (patch)
treeec827f7e913c6b654b5b2ba535f3c682803069ff /tests
parenta11bef25a2dbc587f36a08dbb7384518d8f33860 (diff)
parent782927a05f6d3340aaf28a26c0c3075f5cafc430 (diff)
downloadnextcloud-server-171fe69db7cbb674ff80ea4ed6d3506d5c409a05.tar.gz
nextcloud-server-171fe69db7cbb674ff80ea4ed6d3506d5c409a05.zip
Merge pull request #11932 from nextcloud/font-nunito
Change typeface to Nunito
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/AvatarTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/AvatarTest.php b/tests/lib/AvatarTest.php
index 759dd385564..c8c9d3b8317 100644
--- a/tests/lib/AvatarTest.php
+++ b/tests/lib/AvatarTest.php
@@ -48,7 +48,7 @@ class AvatarTest extends \Test\TestCase {
$this->createMock(ILogger::class),
$this->config
);
-
+
// abcdefghi is a convenient name that our algorithm convert to our nextcloud blue 0082c9
$this->user->method('getDisplayName')->willReturn('abcdefghi');
}
@@ -231,11 +231,11 @@ class AvatarTest extends \Test\TestCase {
public function testGenerateSvgAvatar() {
$avatar = $this->invokePrivate($this->avatar, 'getAvatarVector', [64]);
-
+
$svg = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="64" height="64" version="1.1" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="#0082c9"></rect>
- <text x="50%" y="350" style="font-weight:600;font-size:278px;font-family:\'Open Sans\';text-anchor:middle;fill:#fff">A</text>
+ <text x="50%" y="350" style="font-weight:normal;font-size:279px;font-family:\'Nunito\';text-anchor:middle;fill:#fff">A</text>
</svg>';
$this->assertEquals($avatar, $svg);
}