Skip to content

Commit

Permalink
Update ontology and sq2cql version
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruendner committed Nov 17, 2023
1 parent 5818af3 commit c88d550
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<java.version>17</java.version>
<mockwebserver.version>4.10.0</mockwebserver.version>
<okhttp3.version>4.10.0</okhttp3.version>
<ontology-tag>v2.1.24</ontology-tag>
<ontology-tag>v2.1.27</ontology-tag>
</properties>

<dependencies>
Expand Down Expand Up @@ -198,7 +198,7 @@
<dependency>
<groupId>de.medizininformatik-initiative</groupId>
<artifactId>sq2cql</artifactId>
<version>0.2.0</version>
<version>0.2.4</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit c88d550

Please sign in to comment.