diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2021-09-06 22:26:27 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-09-07 09:34:04 +0300 |
commit | 1d5bcdfd84abad69b1267a3a3f8f66eb39a92a20 (patch) | |
tree | 263e5fa34541eb245c48ea1e19a50e550e9dec10 /tests | |
parent | b87649beeb8a0d680afd0aaf069db95ed8496397 (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.php | 2 |
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); |