Skip to content

Commit 0668e31

Browse files
committed
test: update DocMDP level 1 exception test to only check exception type
Removes translated message assertion for robustness. Signed-off-by: Vitor Mattos <[email protected]>
1 parent 5599183 commit 0668e31

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/php/Unit/Service/SignFileServiceTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,6 @@ public static function providerGetNodeByIdUsingUid(): array {
11761176

11771177
public function testSignThrowsExceptionWhenDocMdpLevel1Detected(): void {
11781178
$this->expectException(LibresignException::class);
1179-
$this->expectExceptionMessage('This document is certified with DocMDP level 1 (no changes allowed) and cannot receive additional signatures');
11801179

11811180
// Create a real DocMdpHandler for this test
11821181
$realDocMdpHandler = new DocMdpHandler($this->l10n);

0 commit comments

Comments
 (0)