Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
snripa committed May 21, 2020
1 parent 00fb2ca commit 420f246
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ void testMultiplePathsEnv() {
equalTo("password2"));

ConfigProperty fromFirstPath = loadConfig.get("only_first");
assertThat(commonSecret.name(), equalTo("only_first"));
assertThat(fromFirstPath.name(), equalTo("only_first"));
assertThat("Secret defined only in first path expected", fromFirstPath.valueAsString(""),
equalTo("pss1"));

ConfigProperty fromSecondPath = loadConfig.get("only_second");
assertThat(commonSecret.name(), equalTo("only_second"));
assertThat("Secret defined only in second path expected", fromFirstPath.valueAsString(""),
assertThat(fromSecondPath.name(), equalTo("only_second"));
assertThat("Secret defined only in second path expected", fromSecondPath.valueAsString(""),
equalTo("pss2"));
}

Expand Down

0 comments on commit 420f246

Please sign in to comment.