projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
media
/
tests
/
src
/
Functional
/
MediaCacheTagsTest.php
diff --git
a/web/core/modules/media/tests/src/Functional/MediaCacheTagsTest.php
b/web/core/modules/media/tests/src/Functional/MediaCacheTagsTest.php
index e1b6cf7ef1b54329565626348280ee0119bdfbd9..4cacf3d467052c8b9339eb061de9f61e98d4b2a5 100644
(file)
--- a/
web/core/modules/media/tests/src/Functional/MediaCacheTagsTest.php
+++ b/
web/core/modules/media/tests/src/Functional/MediaCacheTagsTest.php
@@
-4,7
+4,8
@@
namespace Drupal\Tests\media\Functional;
use Drupal\Core\Entity\EntityInterface;
use Drupal\media\Entity\Media;
use Drupal\Core\Entity\EntityInterface;
use Drupal\media\Entity\Media;
-use Drupal\system\Tests\Entity\EntityWithUriCacheTagsTestBase;
+use Drupal\Tests\media\Traits\MediaTypeCreationTrait;
+use Drupal\Tests\system\Functional\Entity\EntityWithUriCacheTagsTestBase;
/**
* Tests the media items cache tags.
/**
* Tests the media items cache tags.
@@
-13,7
+14,7
@@
use Drupal\system\Tests\Entity\EntityWithUriCacheTagsTestBase;
*/
class MediaCacheTagsTest extends EntityWithUriCacheTagsTestBase {
*/
class MediaCacheTagsTest extends EntityWithUriCacheTagsTestBase {
- use Media
FunctionalTestCreateMediaType
Trait;
+ use Media
TypeCreation
Trait;
/**
* {@inheritdoc}
/**
* {@inheritdoc}
@@
-28,7
+29,7
@@
class MediaCacheTagsTest extends EntityWithUriCacheTagsTestBase {
*/
protected function createEntity() {
// Create a media type.
*/
protected function createEntity() {
// Create a media type.
- $mediaType = $this->createMediaType();
+ $mediaType = $this->createMediaType(
'test'
);
// Create a media item.
$media = Media::create([
// Create a media item.
$media = Media::create([