From 5cc5efae520a8f8668a8f4638fef6c43899a5f18 Mon Sep 17 00:00:00 2001 From: Tuncay Namli Date: Mon, 30 Dec 2024 09:30:07 +0300 Subject: [PATCH] :bugs: fix: Fix the test for _summary --- .../scala/io/onfhir/api/endpoint/FHIRReadEndpointTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onfhir-server-r4/src/test/scala/io/onfhir/api/endpoint/FHIRReadEndpointTest.scala b/onfhir-server-r4/src/test/scala/io/onfhir/api/endpoint/FHIRReadEndpointTest.scala index f7a4e164..2eb95dd0 100644 --- a/onfhir-server-r4/src/test/scala/io/onfhir/api/endpoint/FHIRReadEndpointTest.scala +++ b/onfhir-server-r4/src/test/scala/io/onfhir/api/endpoint/FHIRReadEndpointTest.scala @@ -187,7 +187,7 @@ class FHIRReadEndpointTest extends OnFhirTest with FHIREndpoint { //This is a summary parameter (resource \ "identifier") !== JNothing - resource.obj.length === 12 + resource.obj.length === 13 } Get("/" + OnfhirConfig.baseUri + "/" + resourceType + "/" + resourceId + "?_summary=data") ~> fhirRoute ~> check { status === OK