X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FEntity%2FEntityUnitTestBase.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FEntity%2FEntityUnitTestBase.php;h=9997ca5650be5581c7475fdcce05bd3053328fb2;hp=5d7dc6fd5d82f65aed78f813c260f084ddce9b49;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php b/web/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php index 5d7dc6fd5..9997ca565 100644 --- a/web/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php +++ b/web/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php @@ -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 @@ use Drupal\user\Entity\User; /** * 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 {