Skip to content
Snippets Groups Projects
Commit e0aa970c authored by baydoun's avatar baydoun
Browse files

fixed tests

parent 24f68d00
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,7 @@ public class VerificationServiceImplTest {
log.debug("validSyntax_ValidPerson");
schemaStore.addSchema(getAccessor("Schema-Tests/gax-test-ontology.ttl"));
ContentAccessor content = getAccessor("VerificationService/syntax/legalPerson1.jsonld");
VerificationResult vr = verificationService.verifySelfDescription(content, true, true, false);
VerificationResult vr = verificationService.verifySelfDescription(content, true, false, false);
assertNotNull(vr);
assertTrue(vr instanceof VerificationResultParticipant);
assertFalse(vr instanceof VerificationResultOffering);
......@@ -186,7 +186,7 @@ public class VerificationServiceImplTest {
schemaStore.initializeDefaultSchemas();
ContentAccessor content = getAccessor("VerificationService/syntax/legalPerson2.jsonld");
verificationService.setTypes("https://w3id.org/gaia-x/core#Participant", "https://w3id.org/gaia-x/core#ServiceOffering");
VerificationResult vr = verificationService.verifySelfDescription(content, true, true, false);
VerificationResult vr = verificationService.verifySelfDescription(content, true, false, false);
verificationService.setTypes("http://w3id.org/gaia-x/participant#Participant", "http://w3id.org/gaia-x/service#ServiceOffering");
assertNotNull(vr);
assertTrue(vr instanceof VerificationResultParticipant);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment