Skip to content

Commit 420f246

Browse files
committed
fix test
1 parent 00fb2ca commit 420f246

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config-vault/src/test/java/io/scalecube/config/vault/VaultConfigSourceTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ void testMultiplePathsEnv() {
103103
equalTo("password2"));
104104

105105
ConfigProperty fromFirstPath = loadConfig.get("only_first");
106-
assertThat(commonSecret.name(), equalTo("only_first"));
106+
assertThat(fromFirstPath.name(), equalTo("only_first"));
107107
assertThat("Secret defined only in first path expected", fromFirstPath.valueAsString(""),
108108
equalTo("pss1"));
109109

110110
ConfigProperty fromSecondPath = loadConfig.get("only_second");
111-
assertThat(commonSecret.name(), equalTo("only_second"));
112-
assertThat("Secret defined only in second path expected", fromFirstPath.valueAsString(""),
111+
assertThat(fromSecondPath.name(), equalTo("only_second"));
112+
assertThat("Secret defined only in second path expected", fromSecondPath.valueAsString(""),
113113
equalTo("pss2"));
114114
}
115115

0 commit comments

Comments
 (0)