1 upgrade_bare.test public BareUpgradePathTestCase::testBareUpgrade()

Test a successful upgrade.

File

core/modules/simpletest/tests/upgrade/upgrade_bare.test, line 22

Class

BareUpgradePathTestCase
Upgrade test for the bare database..

Code

public function testBareUpgrade() {
  $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');

  // Ensure that the new Entity module is enabled after upgrade.
  $this->assertTrue(module_exists('entity'), 'Entity module enabled after upgrade.');
}