From 2ce6cd430e7dd05962f6428de4cceb1049f0e187 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Thu, 11 Dec 2025 15:27:22 -0300 Subject: [PATCH] test: add status and statusText fields to expected test output The FileService now includes status and statusText fields in the signer data structure when processing signed files outside LibreSign. This update adjusts the test expectations to match the actual behavior. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- tests/php/Unit/Service/FileServiceTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/php/Unit/Service/FileServiceTest.php b/tests/php/Unit/Service/FileServiceTest.php index 0a5592d9a..f78263f39 100644 --- a/tests/php/Unit/Service/FileServiceTest.php +++ b/tests/php/Unit/Service/FileServiceTest.php @@ -454,6 +454,8 @@ final class FileServiceTest extends \OCA\Libresign\Tests\Unit\TestCase { ], 'crl_validation' => 'missing', 'crl_urls' => [], + 'status' => 2, + 'statusText' => 'Signed', ], ], ],