summaryrefslogtreecommitdiffstats
path: root/core/modules/migrate_drupal
diff options
context:
space:
mode:
authorxjm2018-06-29 23:09:20 (GMT)
committerxjm2018-06-29 23:09:20 (GMT)
commit74e3c51cdda4fcedddf2aee6233305ee7fa4b436 (patch)
treef095c0372bfbd646e97ca893ae4c8509a29c2680 /core/modules/migrate_drupal
parent6a8fe612750b174fa8bb9689dff16b300f981efc (diff)
Revert "Issue #2976889 by phenaproxima, xjm, samuel.mortenson, chr.fritsch: Add a trait to create media types in tests and replace MediaFunctionalTestCreateMediaTypeTrait"
This reverts commit 58d601eb0a94ae40a4b794caf47f91c096c10f33.
Diffstat (limited to 'core/modules/migrate_drupal')
-rw-r--r--core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php b/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php
index e0fd8ed..095de33 100644
--- a/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php
+++ b/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php
@@ -16,7 +16,7 @@ use Drupal\node\Entity\Node;
use Drupal\node\Entity\NodeType;
use Drupal\taxonomy\Entity\Term;
use Drupal\taxonomy\Entity\Vocabulary;
-use Drupal\Tests\media\Traits\MediaTypeCreationTrait;
+use Drupal\Tests\media\Functional\MediaFunctionalTestCreateMediaTypeTrait;
use Drupal\user\Entity\User;
/**
@@ -27,7 +27,7 @@ use Drupal\user\Entity\User;
class ContentEntityTest extends KernelTestBase {
use EntityReferenceTestTrait;
- use MediaTypeCreationTrait;
+ use MediaFunctionalTestCreateMediaTypeTrait;
/**
* {@inheritdoc}
@@ -344,7 +344,7 @@ class ContentEntityTest extends KernelTestBase {
'source' => 'test',
'new_revision' => FALSE,
];
- $media_type = $this->createMediaType('test', $values);
+ $media_type = $this->createMediaType($values);
$media = Media::create([
'name' => 'Foo media',
'uid' => $this->user->id(),