Skip to content

Commit

Permalink
Resolve absolute path in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Reschke <[email protected]>
  • Loading branch information
LukasReschke authored and backportbot[bot] committed Sep 7, 2021
1 parent c294807 commit d0a3746
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit d0a3746

Please sign in to comment.