summaryrefslogtreecommitdiffstats
path: root/tests/Core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2021-09-06 21:26:27 +0200
committerLukas Reschke <lukas@statuscode.ch>2021-09-06 21:26:27 +0200
commit19ad636373e665f636c31fea7b2dc6003bbc27ab (patch)
tree442db82d1822acc81e7ca543a9a2a10c176dc2b9 /tests/Core
parent2994dbe2159807b2efa6acba3d0430bc25af207d (diff)
downloadnextcloud-server-19ad636373e665f636c31fea7b2dc6003bbc27ab.tar.gz
nextcloud-server-19ad636373e665f636c31fea7b2dc6003bbc27ab.zip
Resolve absolute path in tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'tests/Core')
-rw-r--r--tests/Core/Controller/SvgControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Controller/SvgControllerTest.php b/tests/Core/Controller/SvgControllerTest.php
index c8d0ea5f503..f44440389ff 100644
--- a/tests/Core/Controller/SvgControllerTest.php
+++ b/tests/Core/Controller/SvgControllerTest.php
@@ -183,7 +183,7 @@ class SvgControllerTest extends TestCase {
$this->appManager->expects($this->once())
->method('getAppPath')
->with($appName)
- ->willReturn(__DIR__ . '/../../../apps/' . $appName);
+ ->willReturn(realpath(__DIR__ . '/../../../apps/') . '/' . $appName);
$response = $this->svgController->getSvgFromApp($appName, $name, $color);