Skip to content

Commit 1841bd8

Browse files
fix: update PDF path in DevelopController
Update path from tests/php/fixtures/small_valid.pdf to tests/php/fixtures/pdfs/small_valid.pdf after file reorganization. Fixes /apps/libresign/develop/pdf route. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent f392dad commit 1841bd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Controller/DevelopController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function pdf(): FileDisplayResponse|Response {
4848
if (!$this->isDebugMode()) {
4949
return new DataResponse([], Http::STATUS_NOT_FOUND);
5050
}
51-
$file = new InMemoryFile('file.pdf', file_get_contents(__DIR__ . '/../../tests/php/fixtures/small_valid.pdf'));
51+
$file = new InMemoryFile('file.pdf', file_get_contents(__DIR__ . '/../../tests/php/fixtures/pdfs/small_valid.pdf'));
5252
$response = new FileDisplayResponse($file);
5353
$response->setHeaders([
5454
'Content-Disposition' => 'inline; filename="file.pdf"',

0 commit comments

Comments
 (0)