diff --git a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/configuration/ConfigureKotlinInTempDirTest.kt b/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/configuration/ConfigureKotlinInTempDirTest.kt
index e14cc1a9d9c2..084204493fd7 100644
--- a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/configuration/ConfigureKotlinInTempDirTest.kt
+++ b/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/configuration/ConfigureKotlinInTempDirTest.kt
@@ -131,7 +131,7 @@ class ConfigureKotlinInTempDirTest : AbstractConfigureKotlinInTempDirTest() {
}
assertEquals(
- "Migrations for Kotlin code are available
Detected migration:
Language version: 1.5 -> 1.6
",
+ "Update your code to replace the use of deprecated language and library features with supported constructs
Detected migration:
Language version: 1.5 to 1.6
",
notificationText,
)
}
diff --git a/plugins/kotlin/maven/tests/test/org/jetbrains/kotlin/idea/maven/MavenMigrateTest.kt b/plugins/kotlin/maven/tests/test/org/jetbrains/kotlin/idea/maven/MavenMigrateTest.kt
index 1150797f786a..fd750b095541 100644
--- a/plugins/kotlin/maven/tests/test/org/jetbrains/kotlin/idea/maven/MavenMigrateTest.kt
+++ b/plugins/kotlin/maven/tests/test/org/jetbrains/kotlin/idea/maven/MavenMigrateTest.kt
@@ -78,7 +78,7 @@ class MavenMigrateTest : KotlinMavenImportingTestCase() {
assertTrue(
/* message = */ notifications.asText(),
/* condition = */ notifications.any {
- it.content == "Migrations for Kotlin code are available
Detected migration:
Language version: 1.5 -> 1.6
API version: 1.5 -> 1.6
"
+ it.content == "Update your code to replace the use of deprecated language and library features with supported constructs
Detected migration:
Language version: 1.5 to 1.6
API version: 1.5 to 1.6
"
}
)
}