function TextWithSummaryUnusedStorageUpdatePathTest::testRunUpdates
Tests text_with_summary installation for an unused field storage.
File
-
core/
modules/ text/ tests/ src/ Functional/ Update/ TextWithSummaryUnusedStorageUpdatePathTest.php, line 33
Class
- TextWithSummaryUnusedStorageUpdatePathTest
- Tests installing text_with_summary for an unused field storage.
Namespace
Drupal\Tests\text\Functional\UpdateCode
public function testRunUpdates() : void {
$this->assertFalse(\Drupal::moduleHandler()->moduleExists('text_with_summary'));
$this->runUpdates();
$this->assertTrue(\Drupal::moduleHandler()->moduleExists('text_with_summary'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.