You are here

public function EntityBrowserTest::testEntityBrowserCrud in Entity Browser 8.2

Same name and namespace in other branches
  1. 8 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 80

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();
}