You are here

public function Thunder2UpdateTest::testUpdate in Thunder 8.2

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::testUpdate()
  2. 8.3 tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::testUpdate()
  3. 8.4 tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::testUpdate()
  4. 6.2.x tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::testUpdate()
  5. 6.0.x tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::testUpdate()
  6. 6.1.x tests/src/Functional/Thunder2UpdateTest.php \Drupal\Tests\thunder\Functional\Thunder2UpdateTest::testUpdate()

Tests Thunder updates from 2.0 to current.

File

tests/src/Functional/Thunder2UpdateTest.php, line 56

Class

Thunder2UpdateTest
Tests Thunder updates from 2.0 to current.

Namespace

Drupal\Tests\thunder\Functional

Code

public function testUpdate() {

  // Calling the method below performs assertions that all updates have been
  // run successfully, configuration schema is correct and that the entity
  // schemas are correct.
  $this
    ->runUpdates();
  $this
    ->rebuildContainer();
  $this
    ->assertTrue($this->container
    ->get('module_handler')
    ->moduleExists('config_selector'));

  // @todo figure out any other tests to run.
}