function BlockContentReusableUpdateTest::testReusableFieldAdditionWithoutViews
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\UpdateCode
public function testReusableFieldAdditionWithoutViews() {
$this->container
->get('module_installer')
->uninstall([
'views',
]);
$this->runUpdates();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.