summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJibran Ijaz2018-10-02 12:23:30 (GMT)
committerJibran Ijaz2018-10-02 12:23:30 (GMT)
commit9747a97e1cf0f953cfbef9debe8bc770f71a710a (patch)
treebe64de7b011c3334a4f6bf91c365d393d8072cfa
parent756520b8a11c92b081665ec46ee1b1cd82598eb5 (diff)
Issue #2795045 by jibran: Make SchemaCheckTestTrait available outside of the config module
-rw-r--r--tests/src/Functional/DynamicEntityReferenceFieldDefaultValueTest.php2
-rw-r--r--tests/src/Kernel/DynamicEntityReferenceBaseFieldRevisionTest.php2
-rw-r--r--tests/src/Kernel/DynamicEntityReferenceBaseFieldTest.php2
-rw-r--r--tests/src/Kernel/DynamicEntityReferenceFieldTest.php2
-rw-r--r--tests/src/Kernel/DynamicEntityReferenceSchemaTest.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/src/Functional/DynamicEntityReferenceFieldDefaultValueTest.php b/tests/src/Functional/DynamicEntityReferenceFieldDefaultValueTest.php
index e69fd63..a3b0cd5 100644
--- a/tests/src/Functional/DynamicEntityReferenceFieldDefaultValueTest.php
+++ b/tests/src/Functional/DynamicEntityReferenceFieldDefaultValueTest.php
@@ -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.
diff --git a/tests/src/Kernel/DynamicEntityReferenceBaseFieldRevisionTest.php b/tests/src/Kernel/DynamicEntityReferenceBaseFieldRevisionTest.php
index cd61a76..dba7e49 100644
--- a/tests/src/Kernel/DynamicEntityReferenceBaseFieldRevisionTest.php
+++ b/tests/src/Kernel/DynamicEntityReferenceBaseFieldRevisionTest.php
@@ -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.
diff --git a/tests/src/Kernel/DynamicEntityReferenceBaseFieldTest.php b/tests/src/Kernel/DynamicEntityReferenceBaseFieldTest.php
index 2e76ca5..31d5a02 100644
--- a/tests/src/Kernel/DynamicEntityReferenceBaseFieldTest.php
+++ b/tests/src/Kernel/DynamicEntityReferenceBaseFieldTest.php
@@ -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.
diff --git a/tests/src/Kernel/DynamicEntityReferenceFieldTest.php b/tests/src/Kernel/DynamicEntityReferenceFieldTest.php
index e728d31..65953fe 100644
--- a/tests/src/Kernel/DynamicEntityReferenceFieldTest.php
+++ b/tests/src/Kernel/DynamicEntityReferenceFieldTest.php
@@ -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.
diff --git a/tests/src/Kernel/DynamicEntityReferenceSchemaTest.php b/tests/src/Kernel/DynamicEntityReferenceSchemaTest.php
index 07e6647..dbc1d4a 100644
--- a/tests/src/Kernel/DynamicEntityReferenceSchemaTest.php
+++ b/tests/src/Kernel/DynamicEntityReferenceSchemaTest.php
@@ -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.