Use "release notes" in message as it is more generic
This commit is contained in:
parent
23c5549832
commit
786dae5d9a
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue