diff core/modules/media/tests/src/FunctionalJavascript/MediaViewsWizardTest.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
line wrap: on
line diff
--- a/core/modules/media/tests/src/FunctionalJavascript/MediaViewsWizardTest.php	Mon Apr 23 09:33:26 2018 +0100
+++ b/core/modules/media/tests/src/FunctionalJavascript/MediaViewsWizardTest.php	Mon Apr 23 09:46:53 2018 +0100
@@ -22,6 +22,8 @@
     $page = $session->getPage();
     $assert_session = $this->assertSession();
 
+    $this->createMediaType();
+
     $view_id = strtolower($this->randomMachineName(16));
     $this->drupalGet('admin/structure/views/add');
     $page->fillField('label', $view_id);