From 985e872235fca007cf7af229b21cc8da457779e1 Mon Sep 17 00:00:00 2001 From: alex-odysseus <75131044+alex-odysseus@users.noreply.github.com> Date: Wed, 1 Feb 2023 19:16:58 +0100 Subject: [PATCH] Fixing VocabularyServiceTest (#2199) * Correcting out the milestone IDs for the 2.12.1 release * Fixing VocabularyServiceTest.prepareExecuteSearchWithQueryOptionalConceptId test --- src/test/resources/vocabulary/sql/search-expected-3.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/resources/vocabulary/sql/search-expected-3.sql b/src/test/resources/vocabulary/sql/search-expected-3.sql index 4d3d63ef2c..f502ad1f1d 100644 --- a/src/test/resources/vocabulary/sql/search-expected-3.sql +++ b/src/test/resources/vocabulary/sql/search-expected-3.sql @@ -1,4 +1,4 @@ select CONCEPT_ID, CONCEPT_NAME, ISNULL(STANDARD_CONCEPT,'N') STANDARD_CONCEPT, ISNULL(INVALID_REASON,'V') INVALID_REASON, CONCEPT_CODE, CONCEPT_CLASS_ID, DOMAIN_ID, VOCABULARY_ID, VALID_START_DATE, VALID_END_DATE from omop_v5.concept -where 1=1 AND (LOWER(CONCEPT_NAME) LIKE ? or LOWER(CONCEPT_CODE) LIKE ? or CONCEPT_ID = ?) +where 1=1 AND (LOWER(CONCEPT_NAME) LIKE ? or LOWER(CONCEPT_CODE) LIKE ? or CONCEPT_ID = CAST(? as int)) order by CONCEPT_NAME ASC