summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-05-28 11:06:33 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-13 18:46:05 +0200
commit16ec9d96708793cc6d7016743d6d8ba9182088bd (patch)
tree36b9eed50f0da78fa79dcf068e0fcffca444e204 /tests
parent156da29ceade106176e2288ef391c4cb2006d800 (diff)
downloadnextcloud-server-16ec9d96708793cc6d7016743d6d8ba9182088bd.tar.gz
nextcloud-server-16ec9d96708793cc6d7016743d6d8ba9182088bd.zip
Removed old route, fix tests and fix var type
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 67fde694b8e..759dd385564 100644
--- a/tests/lib/AvatarTest.php
+++ b/tests/lib/AvatarTest.php
@@ -232,7 +232,7 @@ class AvatarTest extends \Test\TestCase {
public function testGenerateSvgAvatar() {
$avatar = $this->invokePrivate($this->avatar, 'getAvatarVector', [64]);
- $svg = '
+ $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>