diff --git a/core/modules/simpletest/src/TestDiscovery.php b/core/modules/simpletest/src/TestDiscovery.php index 62cc9d65ec..132694607c 100644 --- a/core/modules/simpletest/src/TestDiscovery.php +++ b/core/modules/simpletest/src/TestDiscovery.php @@ -209,7 +209,7 @@ public function getTestClasses($extension = NULL, array $types = []) { } // Allow modules extending core tests to disable originals. - $this->moduleHandler->alterDeprecated('Convert your test to a PHPUnit-based one and implement test listeners.', 'simpletest', $list); + $this->moduleHandler->alterDeprecated('Convert your test to a PHPUnit-based one and implement test listeners. See: https://www.drupal.org/node/2939892', 'simpletest', $list); if (!isset($extension) && empty($types)) { $this->testClasses = $list; diff --git a/core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php b/core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php index 984542fa26..6d4f44888a 100644 --- a/core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php +++ b/core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php @@ -18,7 +18,7 @@ class TestDiscoveryDeprecationTest extends KernelTestBase { public static $modules = ['simpletest', 'simpletest_deprecation_test']; /** - * @expectedDeprecation The deprecated alter hook hook_simpletest_alter() is implemented in these functions: simpletest_deprecation_test_simpletest_alter. Convert your test to a PHPUnit-based one and implement test listeners. + * @expectedDeprecation The deprecated alter hook hook_simpletest_alter() is implemented in these functions: simpletest_deprecation_test_simpletest_alter. Convert your test to a PHPUnit-based one and implement test listeners. See: https://www.drupal.org/node/2939892 * @covers ::getTestClasses */ public function testHookSimpletestAlter() {