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

Commit 9b33641

Browse files
committed
#176 Updating tests based on triggers DB not being auto created
1 parent 47d6e02 commit 9b33641

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/test/java/com/marklogic/appdeployer/command/databases/CreateTriggersDatabaseTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public void createAndDelete() {
3838
@Test
3939
public void createViaAppConfigProperty() {
4040
appConfig.setConfigDir(new ConfigDir(new File("src/test/resources/sample-app/empty-ml-config")));
41+
appConfig.setCreateTriggersDatabase(true);
4142

4243
initializeAppDeployer(new DeployTriggersDatabaseCommand());
4344
appDeployer.deploy(appConfig);

src/test/java/com/marklogic/appdeployer/scaffold/GenerateScaffoldTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ public void generateScaffoldAndThenDeploy() {
3535
appConfig.setConfigDir(new ConfigDir(new File(path, "src/main/ml-config")));
3636
appConfig.getModulePaths().clear();
3737
appConfig.getModulePaths().add(path + "/src/main/ml-modules");
38-
38+
appConfig.setCreateTriggersDatabase(true);
39+
3940
initializeAppDeployer(new DeployRestApiServersCommand(), new DeployContentDatabasesCommand(), new DeployTriggersDatabaseCommand(),
4041
new DeployUsersCommand(), new DeployRolesCommand(), buildLoadModulesCommand());
4142
appDeployer.deploy(appConfig);

0 commit comments

Comments
 (0)