File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
config-vault/src/test/java/io/scalecube/config/vault Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments