From c88d55059e682d5688e9cc79536bccec7416f2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gru=CC=88ndner?= Date: Fri, 17 Nov 2023 15:20:26 +0100 Subject: [PATCH] Update ontology and sq2cql version --- pom.xml | 4 ++-- .../query/translation/CqlQueryTranslatorTest.java | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 2dc301b9..52d458b2 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ 17 4.10.0 4.10.0 - v2.1.24 + v2.1.27 @@ -198,7 +198,7 @@ de.medizininformatik-initiative sq2cql - 0.2.0 + 0.2.4 diff --git a/src/test/java/de/numcodex/feasibility_gui_backend/query/translation/CqlQueryTranslatorTest.java b/src/test/java/de/numcodex/feasibility_gui_backend/query/translation/CqlQueryTranslatorTest.java index 93637057..a7c26434 100644 --- a/src/test/java/de/numcodex/feasibility_gui_backend/query/translation/CqlQueryTranslatorTest.java +++ b/src/test/java/de/numcodex/feasibility_gui_backend/query/translation/CqlQueryTranslatorTest.java @@ -1,13 +1,12 @@ package de.numcodex.feasibility_gui_backend.query.translation; - import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import de.numcodex.feasibility_gui_backend.common.api.TermCode; import de.numcodex.feasibility_gui_backend.common.api.Criterion; import de.numcodex.feasibility_gui_backend.query.api.StructuredQuery; import de.numcodex.sq2cql.Translator; -import de.numcodex.sq2cql.model.cql.Library; +import de.numcodex.sq2cql.model.cql.Container; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; @@ -102,7 +101,7 @@ public void testTranslate_EverythingSucceeds() throws QueryTranslationException .display("foo") .build(); - var resultLibraryMock = mock(Library.class); + var resultLibraryMock = mock(Container.class); when(resultLibraryMock.print()).thenReturn("bar"); when(translator.toCql(any(de.numcodex.sq2cql.model.structured_query.StructuredQuery.class))) .thenReturn(resultLibraryMock);