diff --git a/src/test/java/edu/ohsu/cmp/ecp/sds/PatientAppClientTest.java b/src/test/java/edu/ohsu/cmp/ecp/sds/PatientAppClientTest.java index ef7f0c9..0dd14a1 100644 --- a/src/test/java/edu/ohsu/cmp/ecp/sds/PatientAppClientTest.java +++ b/src/test/java/edu/ohsu/cmp/ecp/sds/PatientAppClientTest.java @@ -310,7 +310,7 @@ void cannotStoreConditionWhereSubjectIsUnrelatedToAuthorizedUser() { @Test void canStoreConditionWhereSubjectIsRelatedToAuthorizedUser() { - IIdType authorizedRelatedPersonId = new IdType( "RelatedPerson", createTestSpecificId() ) ; + IIdType authorizedRelatedPersonId = new IdType( FOREIGN_PARTITION_NAME, "RelatedPerson", createTestSpecificId(), null ) ; String token = mockPrincipalRegistry.register().principal( "MyRelatedPerson", authorizedRelatedPersonId.toString() ).token() ; mockPermissionRegistry .person( authorizedPatientId.toString() )