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

Commit 7a179bc

Browse files
committed
#380 Added test for replacing tokens in properties files
1 parent 4a5446d commit 7a179bc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/java/com/marklogic/appdeployer/command/data/LoadDataTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public void multiplePaths() {
3030

3131
initializeAppDeployer(new DeployRestApiServersCommand(), new LoadDataCommand());
3232
appConfig.getCustomTokens().put("%%TOKEN_TEST%%", "this was replaced");
33+
appConfig.getCustomTokens().put("%%roleName%%", "manage-user");
3334
deploySampleApp();
3435

3536
DatabaseClient client = appConfig.newDatabaseClient();
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
test3.txt=manage-user,read,manage-user,update
1+
test3.txt=%%roleName%%,read,%%roleName%%,update

0 commit comments

Comments
 (0)