Skip to content

Commit

Permalink
Changes to Integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VarunReddy1111 committed Jan 13, 2025
1 parent bcae941 commit 7ca980a
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public void agmAlleleAssociationBulkUploadCheckFields() throws Exception {
then().
statusCode(200).
body("entity.relation.name", is(relationName)).
body("entity.agmAlleleAssociationObject.modEntityId", is(alleleCurie)).
body("entity.agmAssociationSubject.modEntityId", is(agmCurie)).
body("entity.agmAlleleAssociationObject.primaryExternalId", is(alleleCurie)).
body("entity.agmAssociationSubject.primaryExternalId", is(agmCurie)).
body("entity.zygosity", is(zygosityCurie)).
body("entity.internal", is(true)).
body("entity.obsolete", is(true)).
Expand All @@ -96,7 +96,7 @@ public void agmAlleleAssociationBulkUploadCheckFields() throws Exception {
statusCode(200).
body("entity.components", hasSize(1)).
body("entity.components[0].relation.name", is(relationName)).
body("entity.components[0].agmAlleleAssociationObject.modEntityId", is(alleleCurie)).
body("entity.components[0].agmAlleleAssociationObject.primaryExternalId", is(alleleCurie)).
body("entity.components[0].agmAssociationSubject", not(hasKey("agmAlleles"))).
body("entity.components[0].zygosity", is(zygosityCurie));

Expand All @@ -112,10 +112,10 @@ public void agmAlleleAssociationBulkUploadUpdateCheckFields() throws Exception {
when().
get(agmAlleleAssociationGetEndpoint + "?agmId=" + agm.getId() + "&relationName=" + relationName + "&alleleId=" + allele.getId()).
then().
statusCode(200).log().all().
statusCode(200).
body("entity.relation.name", is(relationName)).
body("entity.agmAlleleAssociationObject.modEntityId", is(alleleCurie)).
body("entity.agmAssociationSubject.modEntityId", is(agmCurie)).
body("entity.agmAlleleAssociationObject.primaryExternalId", is(alleleCurie)).
body("entity.agmAssociationSubject.primaryExternalId", is(agmCurie)).
body("entity.zygosity", is(zygosityCurie)).
body("entity.internal", is(false)).
body("entity.obsolete", is(false)).
Expand Down

0 comments on commit 7ca980a

Please sign in to comment.