Skip to content

Commit

Permalink
junit test
Browse files Browse the repository at this point in the history
  • Loading branch information
rsehr committed Jan 31, 2024
1 parent 2d8e62e commit 538d6f0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.goobi.production.enums.PluginReturnValue;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
Expand Down Expand Up @@ -90,8 +91,10 @@ public void testInit() {
assertEquals(step.getTitel(), plugin.getStep().getTitel());
}

// does not work without access to BACH server, enable it locally
@Ignore
@Test
public void testVersion() throws IOException {
public void testDownload() throws IOException {
DownloadAndVerifyAssetsStepPlugin plugin = new DownloadAndVerifyAssetsStepPlugin();
plugin.initialize(step, "something");
assertEquals(PluginReturnValue.FINISH, plugin.run());
Expand Down

0 comments on commit 538d6f0

Please sign in to comment.