You are here

public function EntityBrowserTest::testEntityBrowserCrud in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/Extension/EntityBrowserTest.php \Drupal\Tests\entity_browser\Kernel\Extension\EntityBrowserTest::testEntityBrowserCrud()

Tests CRUD operations.

File

tests/src/Kernel/Extension/EntityBrowserTest.php, line 79

Class

EntityBrowserTest
Tests the entity_browser config entity.

Namespace

Drupal\Tests\entity_browser\Kernel\Extension

Code

public function testEntityBrowserCrud() {
  $this
    ->assertTrue($this->controller instanceof ConfigEntityStorage, 'The entity_browser storage is loaded.');

  // Run each test method in the same installation.
  $this
    ->createTests();
  $this
    ->loadTests();
  $this
    ->deleteTests();
}