From f9d910bf92ee8d10092aee985a522d943fce68f3 Mon Sep 17 00:00:00 2001 From: mogoodrich Date: Tue, 29 Oct 2024 14:37:17 -0400 Subject: [PATCH] [#284] - Support "dispositions" domain (add emrapi to the validator pom) --- .../api/DispositionsLoaderIntegrationTest.java | 4 ++-- validator/pom.xml | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/api/src/test/java/org/openmrs/module/initializer/api/DispositionsLoaderIntegrationTest.java b/api/src/test/java/org/openmrs/module/initializer/api/DispositionsLoaderIntegrationTest.java index 6b4b786b..78e81c49 100644 --- a/api/src/test/java/org/openmrs/module/initializer/api/DispositionsLoaderIntegrationTest.java +++ b/api/src/test/java/org/openmrs/module/initializer/api/DispositionsLoaderIntegrationTest.java @@ -24,7 +24,7 @@ public class DispositionsLoaderIntegrationTest extends DomainBaseModuleContextSe @Test public void load_shouldLoadDisposition() { - loader.load(); + loader.load(); assertEquals(5, dispositionService.getDispositions().size()); } @@ -46,7 +46,7 @@ public void load_shouldThrowExceptionInUnsafeModeIfMultipleFiles() throws Except File srcFile = new File(existingFilePath); File dstFile = new File(additionalFilePath); FileUtils.copyFile(srcFile, dstFile); - + try { loader.loadUnsafe(null, true); } diff --git a/validator/pom.xml b/validator/pom.xml index 17a705bd..d407a541 100644 --- a/validator/pom.xml +++ b/validator/pom.xml @@ -398,6 +398,14 @@ jar + + org.openmrs.module + emrapi-api + ${emrapiModuleVersion} + runtime + jar + +