aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-23 14:28:55 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-23 14:30:23 +0200
commit782927a05f6d3340aaf28a26c0c3075f5cafc430 (patch)
tree6c4377efc332dda13b586ce79a588ea29a568424 /tests
parent1fb885638ec3f45b2580db3ef86b5b70ad544412 (diff)
downloadnextcloud-server-782927a05f6d3340aaf28a26c0c3075f5cafc430.tar.gz
nextcloud-server-782927a05f6d3340aaf28a26c0c3075f5cafc430.zip
fixup! Fix comment and cap-height
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/AvatarTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AvatarTest.php b/tests/lib/AvatarTest.php
index 5d72ec02e2b..c8c9d3b8317 100644
--- a/tests/lib/AvatarTest.php
+++ b/tests/lib/AvatarTest.php
@@ -235,7 +235,7 @@ class AvatarTest extends \Test\TestCase {
$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:normal;font-size:280px;font-family:\'Nunito\';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);
}