mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Resolve absolute path in tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
c29480793c
commit
d0a3746349
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue