summaryrefslogtreecommitdiffstats
path: root/core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php')
-rw-r--r--core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php b/core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php
new file mode 100644
index 0000000..017e725
--- /dev/null
+++ b/core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php
@@ -0,0 +1,29 @@
+<?php
+
+namespace Drupal\Tests\media\Functional;
+
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Base class for Media functional tests.
+ */
+abstract class MediaFunctionalTestBase extends BrowserTestBase {
+
+ use MediaFunctionalTestTrait;
+ use MediaFunctionalTestCreateMediaTypeTrait;
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = [
+ 'system',
+ 'node',
+ 'field_ui',
+ 'views_ui',
+ 'media',
+ 'media_test_source',
+ ];
+
+}