Fix PropertiesMigrationListenerTests

See gh-21104
This commit is contained in:
dreis2211 2020-04-23 20:08:52 +02:00 committed by Phillip Webb
parent 49345025ac
commit 1be8312886
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ class PropertiesMigrationListenerTests {
@Test
void sampleReport(CapturedOutput output) {
this.context = createSampleApplication().run("--banner.charset=UTF8");
assertThat(output).contains("commandLineArgs").contains("spring.banner.charset")
this.context = createSampleApplication().run("--logging.file=test.log");
assertThat(output).contains("commandLineArgs").contains("logging.file.name")
.contains("Each configuration key has been temporarily mapped")
.doesNotContain("Please refer to the migration guide");
}