Commit 9747a97e authored by jibran's avatar jibran

Issue #2795045 by jibran: Make SchemaCheckTestTrait available outside of the config module

parent 756520b8
......@@ -2,11 +2,11 @@
namespace Drupal\Tests\dynamic_entity_reference\Functional;
use Drupal\config\Tests\SchemaCheckTestTrait;
use Drupal\field\Entity\FieldConfig;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\node\Entity\Node;
use Drupal\Tests\BrowserTestBase;
use Drupal\Tests\SchemaCheckTestTrait;
/**
* Tests dynamic entity reference field default values storage in CMI.
......
......@@ -2,9 +2,9 @@
namespace Drupal\Tests\dynamic_entity_reference\Kernel;
use Drupal\config\Tests\SchemaCheckTestTrait;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
use Drupal\Tests\SchemaCheckTestTrait;
/**
* Tests for the dynamic entity reference base field for revisionable entities.
......
......@@ -2,11 +2,11 @@
namespace Drupal\Tests\dynamic_entity_reference\Kernel;
use Drupal\config\Tests\SchemaCheckTestTrait;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\entity_test\Entity\EntityTest;
use Drupal\entity_test\Entity\EntityTestMul;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
use Drupal\Tests\SchemaCheckTestTrait;
/**
* Tests for the dynamic entity reference base field.
......
......@@ -2,12 +2,12 @@
namespace Drupal\Tests\dynamic_entity_reference\Kernel;
use Drupal\config\Tests\SchemaCheckTestTrait;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\entity_test\Entity\EntityTestBundle;
use Drupal\field\Entity\FieldConfig;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
use Drupal\Tests\SchemaCheckTestTrait;
/**
* Tests for the dynamic entity reference field.
......
......@@ -2,13 +2,13 @@
namespace Drupal\Tests\dynamic_entity_reference\Kernel;
use Drupal\config\Tests\SchemaCheckTestTrait;
use Drupal\Core\Entity\Entity\EntityFormDisplay;
use Drupal\Core\Entity\Entity\EntityViewDisplay;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\field\Entity\FieldConfig;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
use Drupal\Tests\SchemaCheckTestTrait;
/**
* Ensures that Dynamic Entity References schema is correct.
......
Markdown is supported
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