diff --git a/src/test/java/org/alliancegenome/curation_api/AgmAlleleAssociationBulkUploadITCase.java b/src/test/java/org/alliancegenome/curation_api/AgmAlleleAssociationBulkUploadITCase.java index 56b8a2d0f..bf6b6640a 100644 --- a/src/test/java/org/alliancegenome/curation_api/AgmAlleleAssociationBulkUploadITCase.java +++ b/src/test/java/org/alliancegenome/curation_api/AgmAlleleAssociationBulkUploadITCase.java @@ -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)). @@ -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)); @@ -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)).