From 712d96cfb65c9d50b2aaf73904664474320833af Mon Sep 17 00:00:00 2001 From: Ian Date: Wed, 12 Jun 2024 15:24:52 -0400 Subject: [PATCH] Fix test --- .../org/openmrs/module/labonfhir/api/LabOrderHandlerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/test/java/org/openmrs/module/labonfhir/api/LabOrderHandlerTest.java b/api/src/test/java/org/openmrs/module/labonfhir/api/LabOrderHandlerTest.java index 440d591..6c949a8 100644 --- a/api/src/test/java/org/openmrs/module/labonfhir/api/LabOrderHandlerTest.java +++ b/api/src/test/java/org/openmrs/module/labonfhir/api/LabOrderHandlerTest.java @@ -99,6 +99,6 @@ public void createOrder_shouldCreateTask() throws OrderCreationException { // Assert that the task is not null assertThat(task, notNullValue()); assertThat(task.hasRequester(), is(true)); - assertThat(task.getRequester().getIdentifier().getIdElement(), is("locationUuid")); + assertThat(task.getRequester().getReferenceElement().getIdPart(), is("locationUuid")); } }