Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Resolve absolute path in tests
Signed-off-by: Lukas Reschke <[email protected]>
  • Loading branch information
LukasReschke authored and backportbot[bot] committed Sep 7, 2021
commit d0a3746349821d36f4dced9793b3521c914fea84
2 changes: 1 addition & 1 deletion tests/Core/Controller/SvgControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function testGetSvgFromApp(string $appName, string $name, string $color,
$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);

Expand Down