Issue #3049938 by pfrenssen: Deprecation message linking to wrong change record

merge-requests/1119/head
Lee Rowlands 2019-04-30 07:37:00 +10:00
parent f950d08bd5
commit fb532b06f8
No known key found for this signature in database
GPG Key ID: 2B829A3DF9204DC4
1 changed files with 1 additions and 1 deletions

View File

@ -710,7 +710,7 @@ abstract class KernelTestBase extends TestCase implements ServiceProviderInterfa
if (empty($schema)) {
// BC layer to avoid some contrib tests to fail.
if ($module == 'system') {
@trigger_error('Special handling of system module schemas in \Drupal\KernelTests\KernelTestBase::installSchema has been deprecated in Drupal 8.7.x, remove any calls to this method that use invalid schema names. See https://www.drupal.org/project/drupal/issues/2794347.', E_USER_DEPRECATED);
@trigger_error('Special handling of system module schemas in \Drupal\KernelTests\KernelTestBase::installSchema has been deprecated in Drupal 8.7.x, remove any calls to this method that use invalid schema names. See https://www.drupal.org/node/3003360.', E_USER_DEPRECATED);
continue;
}
throw new \LogicException("$module module does not define a schema for table '$table'.");