Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 6323a9e

Browse files
committed
Fixing plugin test by including a REST server for it
1 parent edb9b11 commit 6323a9e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/java/com/marklogic/appdeployer/command/plugins/InstallPluginsTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import com.fasterxml.jackson.databind.node.ObjectNode;
44
import com.marklogic.appdeployer.AbstractAppDeployerTest;
55
import com.marklogic.appdeployer.command.databases.DeployOtherDatabasesCommand;
6+
import com.marklogic.appdeployer.command.restapis.DeployRestApiServersCommand;
67
import com.marklogic.client.DatabaseClient;
78
import com.marklogic.client.document.GenericDocumentManager;
89
import com.marklogic.client.document.JSONDocumentManager;
@@ -18,7 +19,7 @@ public class InstallPluginsTest extends AbstractAppDeployerTest {
1819

1920
@After
2021
public void teardown() {
21-
initializeAppDeployer(new DeployOtherDatabasesCommand(1), new InstallPluginsCommand());
22+
initializeAppDeployer(new DeployOtherDatabasesCommand(1), new InstallPluginsCommand(), new DeployRestApiServersCommand());
2223
undeploySampleApp();
2324
}
2425

@@ -29,7 +30,7 @@ public void test() {
2930

3031
initializeAppConfig(projectDir);
3132

32-
initializeAppDeployer(new DeployOtherDatabasesCommand(1), new InstallPluginsCommand());
33+
initializeAppDeployer(new DeployOtherDatabasesCommand(1), new InstallPluginsCommand(), new DeployRestApiServersCommand());
3334
appConfig.getPluginConfig().setDatabaseName(appConfig.getContentDatabaseName());
3435

3536
deploySampleApp();

0 commit comments

Comments
 (0)