Skip to content

Commit 1be8312

Browse files
dreis2211philwebb
authored andcommitted
Fix PropertiesMigrationListenerTests
See gh-21104
1 parent 4934502 commit 1be8312

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-properties-migrator/src/test/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationListenerTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ void closeContext() {
4747

4848
@Test
4949
void sampleReport(CapturedOutput output) {
50-
this.context = createSampleApplication().run("--banner.charset=UTF8");
51-
assertThat(output).contains("commandLineArgs").contains("spring.banner.charset")
50+
this.context = createSampleApplication().run("--logging.file=test.log");
51+
assertThat(output).contains("commandLineArgs").contains("logging.file.name")
5252
.contains("Each configuration key has been temporarily mapped")
5353
.doesNotContain("Please refer to the migration guide");
5454
}

0 commit comments

Comments
 (0)