Mercurial > hg > isophonics-drupal-site
diff core/modules/system/src/Tests/Entity/EntityUnitTestBase.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Thu Apr 26 11:26:54 2018 +0100 +++ b/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Tue Jul 10 15:07:59 2018 +0100 @@ -2,6 +2,8 @@ namespace Drupal\system\Tests\Entity; +@trigger_error(__FILE__ . ' is deprecated in Drupal 8.1.0 and will be removed before Drupal 9.0.0. Use \Drupal\KernelTests\Core\Entity\EntityKernelTestBase instead.', E_USER_DEPRECATED); + use Drupal\simpletest\KernelTestBase; use Drupal\Core\Entity\EntityInterface; use Drupal\user\Entity\Role; @@ -10,7 +12,7 @@ /** * Defines an abstract test base for entity unit tests. * - * @deprecated in Drupal 8.1.x, will be removed before Drupal 8.2.x. Use + * @deprecated in Drupal 8.1.0, will be removed before Drupal 9.0.0. Use * \Drupal\KernelTests\Core\Entity\EntityKernelTestBase instead. */ abstract class EntityUnitTestBase extends KernelTestBase {