Use "release notes" in message as it is more generic

This commit is contained in:
Stephane Nicoll 2020-05-13 15:44:16 +02:00
parent 23c5549832
commit 786dae5d9a
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ class PropertiesMigrationReport {
"%nThe use of configuration keys that are no longer supported was found in the environment:%n%n"));
append(report, content);
report.append(String.format("%n"));
report.append("Please refer to the migration guide or reference guide for potential alternatives.");
report.append("Please refer to the release notes or reference guide for potential alternatives.");
report.append(String.format("%n"));
return report.toString();
}

View File

@ -50,7 +50,7 @@ class PropertiesMigrationListenerTests {
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");
.doesNotContain("Please refer to the release notes");
}
private SpringApplication createSampleApplication() {