You are here

public function GalleryBundleTest::testGalleryOption in D7 Media 8

Tests that gallery option isn't available in gallery create bundle filters.

File

src/Tests/GalleryBundleTest.php, line 123

Class

GalleryBundleTest
Ensures that media bundle for gallery can be created.

Namespace

Drupal\media\Tests

Code

public function testGalleryOption() {

  // Open the media library iframe used on add gallery page.
  $this
    ->drupalGet('entity-browser/modal/gallery_media_library');
  $this
    ->assertNoOption('edit-bundle-1', 'gallery');
}