function SearchUpdateTest::testSearchHelpInstall

Tests system_update_12002.

See also

system_update_12002()

File

core/modules/search/tests/src/Functional/Update/SearchUpdateTest.php, line 37

Class

SearchUpdateTest
Tests moving search from node to search_node.

Namespace

Drupal\Tests\search\Functional\Update

Code

public function testSearchHelpInstall() : void {
  $this->assertFalse(\Drupal::moduleHandler()->moduleExists('search_node'));
  $this->runUpdates();
  $this->assertTrue(\Drupal::moduleHandler()->moduleExists('search_node'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.