Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2021-09-06 22:26:27 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-09-07 09:36:44 +0300
commitd0a3746349821d36f4dced9793b3521c914fea84 (patch)
treebe6c13b88b82aeb930f7e03ae12c3bfd12f0ac64 /tests
parentc29480793ce2167729b4569bcf109e99b6687d34 (diff)
Resolve absolute path in tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'tests')
-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);