diff --git a/core/modules/migrate/tests/src/Kernel/Plugin/MigrationDirectoryTest.php b/core/modules/migrate/tests/src/Kernel/Plugin/MigrationDirectoryTest.php
index b85aea478f..29a747e4f0 100644
--- a/core/modules/migrate/tests/src/Kernel/Plugin/MigrationDirectoryTest.php
+++ b/core/modules/migrate/tests/src/Kernel/Plugin/MigrationDirectoryTest.php
@@ -20,7 +20,7 @@ class MigrationDirectoryTest extends MigrateDrupalTestBase {
   /**
    * Tests that migrations in the migration_templates directory are created.
    *
-   * @expectedDeprecationMessage Use of the /migration_templates directory to store migration configuration files is deprecated in Drupal 8.1.0 and will be removed before Drupal 9.0.0.
+   * @expectedDeprecation Use of the /migration_templates directory to store migration configuration files is deprecated in Drupal 8.1.0 and will be removed before Drupal 9.0.0. See https://www.drupal.org/node/2920988.
    */
   public function testMigrationDirectory() {
     /** @var \Drupal\migrate\Plugin\MigrationPluginManager $plugin_manager */
