function SearchUpdateUserTest::testSearchHelpInstall
Same name and namespace in other branches
- main core/modules/search/tests/src/Functional/Update/SearchUpdateUserTest.php \Drupal\Tests\search\Functional\Update\SearchUpdateUserTest::testSearchHelpInstall()
Tests system_update_11402.
See also
system_update_11402()
File
-
core/
modules/ search/ tests/ src/ Functional/ Update/ SearchUpdateUserTest.php, line 39
Class
- SearchUpdateUserTest
- Tests moving search from user to to search_user.
Namespace
Drupal\Tests\search\Functional\UpdateCode
public function testSearchHelpInstall() : void {
$this->assertFalse(\Drupal::moduleHandler()->moduleExists('search_user'));
$this->runUpdates();
$this->assertTrue(\Drupal::moduleHandler()->moduleExists('search_user'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.