You are here

public function BlockContentReusableUpdateTest::testReusableFieldAdditionWithoutViews in Drupal 8

Tests that the update succeeds even if Views is not installed.

File

core/modules/block_content/tests/src/Functional/Update/BlockContentReusableUpdateTest.php, line 156

Class

BlockContentReusableUpdateTest
Tests 'reusable' field related update functions for the Block Content module.

Namespace

Drupal\Tests\block_content\Functional\Update

Code

public function testReusableFieldAdditionWithoutViews() {
  $this->container
    ->get('module_installer')
    ->uninstall([
    'views',
  ]);
  $this
    ->runUpdates();
}