Skip to content

Commit 066862b

Browse files
committed
fix test
1 parent 0964448 commit 066862b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

avaje-config/src/main/java/io/avaje/config/InitialLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ private boolean loadTest() {
190190
/**
191191
* Load configuration defined by a <em>load.properties</em> entry in properties file.
192192
*/
193-
private void loadViaIndirection() {
193+
void loadViaIndirection() {
194194
String paths = loadContext.indirectLocation();
195195
if (paths != null) {
196196
loadViaPaths(paths);

avaje-config/src/test/java/io/avaje/config/InitialLoaderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ void loadViaIndirection_Profiles() {
126126
loader.entryMap().put("getsuga", "tensho.properties", "test");
127127
loader
128128
.entryMap()
129-
.put("load.properties", "${getsuga},application-test-${avaje.profiles}.properties", "test");
129+
.put("load.properties", "${getsuga}", "test");
130130
loader.loadViaIndirection();
131131

132132
assertEquals(loader.entryMap().get("load.properties").value(), "tensho.properties");

0 commit comments

Comments
 (0)