Skip to content

Commit c2a21f0

Browse files
committed
Merge pull request #21104 from dreis2211
* pr/21104: Fix PropertiesMigrationListenerTests Closes gh-21104
2 parents 4934502 + 1be8312 commit c2a21f0

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)