@@ -123,6 +123,8 @@ |
||
123 | 123 | |
124 | 124 | /** |
125 | 125 | * Assert that an entity is created & wrapped with a specified name. |
126 | + * @param string $fieldName |
|
127 | + * @param DriverEntityDrupal8 $entity |
|
126 | 128 | */ |
127 | 129 | protected function assertEntityWithName($value, $fieldName, $entity) |
128 | 130 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Drupal\Driver\Wrapper\Entity\DriverEntityDrupal8; |
6 | 6 | use Drupal\Tests\Driver\Kernel\Drupal8\Entity\DriverEntityKernelTestBase; |
7 | 7 | use Drupal\taxonomy\Entity\Vocabulary; |
8 | -use Drupal\taxonomy\Entity\Term; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * Tests the driver's handling of term entities. |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Drupal\Tests\Driver\Kernel\Drupal8\Entity; |
4 | 4 | |
5 | 5 | use Drupal\Tests\Driver\Kernel\Drupal8\Entity\DriverEntityKernelTestBase; |
6 | -use Drupal\user\Entity\User; |
|
7 | 6 | use Drupal\user\Entity\Role; |
8 | 7 | use Drupal\Driver\Wrapper\Entity\DriverEntityDrupal8; |
9 | 8 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Drupal\Tests\Driver\Kernel\Drupal8\Field\DriverFieldKernelTestBase; |
6 | 6 | use Drupal\Driver\Plugin\DriverFieldPluginManager; |
7 | -use Drupal\KernelTests\KernelTestBase; |
|
8 | 7 | use Drupal\Driver\Wrapper\Field\DriverFieldDrupal8; |
9 | 8 | |
10 | 9 | /** Tests the field plugin base class. |