diff --git a/validation-services-parent/timestamptoken-validation-service/src/test/java/ee/openeid/validation/service/timestamptoken/TimeStampTokenValidationServiceTestProfileTest.java b/validation-services-parent/timestamptoken-validation-service/src/test/java/ee/openeid/validation/service/timestamptoken/TimeStampTokenValidationServiceTestProfileTest.java index eb79a4a5d..991fe0a79 100644 --- a/validation-services-parent/timestamptoken-validation-service/src/test/java/ee/openeid/validation/service/timestamptoken/TimeStampTokenValidationServiceTestProfileTest.java +++ b/validation-services-parent/timestamptoken-validation-service/src/test/java/ee/openeid/validation/service/timestamptoken/TimeStampTokenValidationServiceTestProfileTest.java @@ -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()); } diff --git a/validation-services-parent/timestamptoken-validation-service/src/test/resources/test-files/testtimestamp.asics b/validation-services-parent/timestamptoken-validation-service/src/test/resources/test-files/testtimestamp.asics new file mode 100644 index 000000000..e1c3c46d5 Binary files /dev/null and b/validation-services-parent/timestamptoken-validation-service/src/test/resources/test-files/testtimestamp.asics differ