Skip to content

Commit

Permalink
[mekomsolutions#284] - Support "dispositions" domain
Browse files Browse the repository at this point in the history
(add emrapi to the validator pom)
  • Loading branch information
mogoodrich committed Oct 29, 2024
1 parent ef3e47c commit f9d910b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class DispositionsLoaderIntegrationTest extends DomainBaseModuleContextSe

@Test
public void load_shouldLoadDisposition() {
loader.load();
loader.load();
assertEquals(5, dispositionService.getDispositions().size());
}

Expand All @@ -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);
}
Expand Down
8 changes: 8 additions & 0 deletions validator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,14 @@
<type>jar</type>
</dependency>

<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>emrapi-api</artifactId>
<version>${emrapiModuleVersion}</version>
<scope>runtime</scope>
<type>jar</type>
</dependency>

</dependencies>

<build>
Expand Down

0 comments on commit f9d910b

Please sign in to comment.