Unverified Commit b0433546 authored by alexpott's avatar alexpott
Browse files

Issue #2991001 by pasan.gamage, jibran: Fix TemporaryTableMapping deprecation message

parent 4a55e840
......@@ -4,13 +4,13 @@
use Drupal\Core\Field\FieldStorageDefinitionInterface;
@trigger_error(__NAMESPACE__ . '\TemporaryTableMapping is deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. Use the default table mapping with a prefix instead.', E_USER_DEPRECATED);
@trigger_error(__NAMESPACE__ . '\TemporaryTableMapping is deprecated in Drupal 8.7.x and will be removed before Drupal 9.0.0. Use the default table mapping with a prefix instead.', E_USER_DEPRECATED);
/**
* Defines a temporary table mapping class.
*
* @deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. Use the
* default table mapping with a prefix instead.
* @deprecated in Drupal 8.7.x and will be removed before Drupal 9.0.0. Use the
* default table mapping with a prefix instead.
*/
class TemporaryTableMapping extends DefaultTableMapping {
......
......@@ -573,7 +573,7 @@ public function providerTestGetDedicatedTableName() {
/**
* @coversDefaultClass \Drupal\Core\Entity\Sql\TemporaryTableMapping
*
* @expectedDeprecation Drupal\Core\Entity\Sql\TemporaryTableMapping is deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. Use the default table mapping with a prefix instead.
* @expectedDeprecation Drupal\Core\Entity\Sql\TemporaryTableMapping is deprecated in Drupal 8.7.x and will be removed before Drupal 9.0.0. Use the default table mapping with a prefix instead.
* @group legacy
*/
public function testTemporaryTableMapping() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment