From 21c0e7be45db5c51dcc3e05fd273c72dc4f6ca17 Mon Sep 17 00:00:00 2001 From: manimaarans Date: Fri, 27 Oct 2023 13:23:53 +0530 Subject: [PATCH] BS-280 | Fixed test errors --- .../org/snomed/cdsservice/CdsServiceApplicationTests.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/snomed/cdsservice/CdsServiceApplicationTests.java b/src/test/java/org/snomed/cdsservice/CdsServiceApplicationTests.java index 7f3e447..b927f6d 100644 --- a/src/test/java/org/snomed/cdsservice/CdsServiceApplicationTests.java +++ b/src/test/java/org/snomed/cdsservice/CdsServiceApplicationTests.java @@ -1,8 +1,9 @@ package org.snomed.cdsservice; import org.junit.jupiter.api.Test; -import org.snomed.cdsservice.service.medication.MedicationConditionRuleLoaderService; import org.snomed.cdsservice.service.medication.MedicationCombinationRuleLoaderService; +import org.snomed.cdsservice.service.medication.MedicationConditionRuleLoaderService; +import org.snomed.cdsservice.service.medication.dose.SnomedMedicationDefinedDailyDoseService; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.mock.mockito.MockBean; @@ -15,6 +16,9 @@ class CdsServiceApplicationTests { @MockBean private MedicationCombinationRuleLoaderService medicationRuleLoaderService; + @MockBean + private SnomedMedicationDefinedDailyDoseService definedDailyDoseService; + @Test void contextLoads() { }