diff --git a/core/modules/hal/tests/src/Kernel/HalLinkManagerTest.php b/core/modules/hal/tests/src/Kernel/HalLinkManagerTest.php index bf39f92fdb..a043a5592c 100644 --- a/core/modules/hal/tests/src/Kernel/HalLinkManagerTest.php +++ b/core/modules/hal/tests/src/Kernel/HalLinkManagerTest.php @@ -51,7 +51,6 @@ protected function setUp() { * @covers ::getTypeUri * @dataProvider providerTestGetTypeUri * - * @expectedDeprecation Install profile will be a mandatory parameter in Drupal 9.0. * @expectedDeprecation %sThis hook is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. Implement hook_hal_type_uri_alter() instead.%s */ public function testGetTypeUri($link_domain, $entity_type, $bundle, array $context, $expected_return, array $expected_context) { @@ -147,7 +146,6 @@ public function providerTestGetTypeUri() { * @covers ::getRelationUri * @dataProvider providerTestGetRelationUri * - * @expectedDeprecation Install profile will be a mandatory parameter in Drupal 9.0. * @expectedDeprecation %sThis hook is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. Implement hook_hal_relation_uri_alter() instead.%s */ public function testGetRelationUri($link_domain, $entity_type, $bundle, $field_name, array $context, $expected_return, array $expected_context) { diff --git a/core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php b/core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php index 6d4f44888a..50a995ae11 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. See: https://www.drupal.org/node/2939892 + * @expectedDeprecation %sConvert your test to a PHPUnit-based one and implement test listeners. See: https://www.drupal.org/node/2939892%s * @covers ::getTestClasses */ public function testHookSimpletestAlter() {