function HelpNoSearchUpgradeTest::testSearchHelpInstall
Same name and namespace in other branches
- main core/modules/help/tests/src/Functional/HelpNoSearchUpgradeTest.php \Drupal\Tests\help\Functional\HelpNoSearchUpgradeTest::testSearchHelpInstall()
Tests system_update_11400().
See also
File
-
core/
modules/ help/ tests/ src/ Functional/ HelpNoSearchUpgradeTest.php, line 38
Class
- HelpNoSearchUpgradeTest
- Tests that the search_help module is not installed after help updates.
Namespace
Drupal\Tests\help\FunctionalCode
public function testSearchHelpInstall() : void {
$this->assertFalse(\Drupal::moduleHandler()->moduleExists('search_help'));
$this->assertTrue(\Drupal::database()->schema()
->tableExists('help_search_items'));
$this->runUpdates();
$this->assertFalse(\Drupal::moduleHandler()->moduleExists('search_help'));
$this->assertFalse(\Drupal::database()->schema()
->tableExists('help_search_items'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.