Skip to content

Commit

Permalink
travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
oleyma committed Sep 28, 2022
1 parent beb3a42 commit 3823a04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/adonai/model/ConfigurationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public void setAndGetSessions () {
@Test
public void setAndGetExtensionPaths () {
Configuration configuration = new Configuration();
configuration.setExtensionPaths(Arrays.asList("1", "2"));
Assert.assertEquals ("Number of extensionpaths invalid", 2, configuration.getExtensionPaths().size());
configuration.setMp3ExtensionPath("1");
Assert.assertEquals ("Number of extensionpaths invalid", "1", configuration.getMp3ExtensionPath());
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/adonai/testdata/TestDataCreator.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public Configuration createTestData(final boolean preview) throws IOException {
File extensionPath = new File(tenantPath, "additionals");
extensionPath.mkdirs();

configuration.getExtensionPaths().add(extensionPath.getAbsolutePath());
configuration.setMp3ExtensionPath(extensionPath.getAbsolutePath());

new File(extensionPath, "SomeMp3.mp3").createNewFile();
new File(extensionPath, "AnotherMp3.mp3").createNewFile();
Expand Down

0 comments on commit 3823a04

Please sign in to comment.