comparison 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
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
1 <?php 1 <?php
2 2
3 namespace Drupal\system\Tests\Entity; 3 namespace Drupal\system\Tests\Entity;
4
5 @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);
4 6
5 use Drupal\simpletest\KernelTestBase; 7 use Drupal\simpletest\KernelTestBase;
6 use Drupal\Core\Entity\EntityInterface; 8 use Drupal\Core\Entity\EntityInterface;
7 use Drupal\user\Entity\Role; 9 use Drupal\user\Entity\Role;
8 use Drupal\user\Entity\User; 10 use Drupal\user\Entity\User;
9 11
10 /** 12 /**
11 * Defines an abstract test base for entity unit tests. 13 * Defines an abstract test base for entity unit tests.
12 * 14 *
13 * @deprecated in Drupal 8.1.x, will be removed before Drupal 8.2.x. Use 15 * @deprecated in Drupal 8.1.0, will be removed before Drupal 9.0.0. Use
14 * \Drupal\KernelTests\Core\Entity\EntityKernelTestBase instead. 16 * \Drupal\KernelTests\Core\Entity\EntityKernelTestBase instead.
15 */ 17 */
16 abstract class EntityUnitTestBase extends KernelTestBase { 18 abstract class EntityUnitTestBase extends KernelTestBase {
17 19
18 /** 20 /**