Skip to content

Commit

Permalink
SIVA-719 Add a new test file for timestamp token test
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoMattus committed Dec 9, 2024
1 parent 0b3d902 commit 8883795
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,12 @@
class TimeStampTokenValidationServiceTestProfileTest extends BaseTimeStampTokenValidationServiceTest {

@Test
@Disabled("SIVA-719")
void validTimeStampToken() {
SimpleReport simpleReport = validationService.validateDocument(buildValidationDocument("timestamptoken-ddoc.asics")).getSimpleReport();
SimpleReport simpleReport = validationService.validateDocument(buildValidationDocument("testtimestamp.asics")).getSimpleReport();
assertEquals(1, simpleReport.getValidationConclusion().getTimeStampTokens().size());
TimeStampTokenValidationData validationData = simpleReport.getValidationConclusion().getTimeStampTokens().get(0);
assertEquals(TimeStampTokenValidationData.Indication.TOTAL_PASSED, validationData.getIndication());
assertEquals("SK TIMESTAMPING AUTHORITY", validationData.getSignedBy());
assertEquals("DEMO of SK TSA 2014", validationData.getSignedBy());
assertNull(validationData.getError());
}

Expand Down
Binary file not shown.

0 comments on commit 8883795

Please sign in to comment.