- <?php
-
- require_once BACKDROP_ROOT . '/core/modules/simpletest/tests/upgrade/upgrade.test';
-
- * Upgrade test for the bare database..
- *
- * Load an empty installation of Drupal 7 and run the upgrade process on it.
- */
- class BareUpgradePathTestCase extends UpgradePathTestCase {
- public function setUp() {
-
- $this->databaseDumpFiles = array(
- backdrop_get_path('module', 'simpletest') . '/tests/upgrade/drupal-7.bare.database.php.gz',
- );
- parent::setUp();
- }
-
-
- * Test a successful upgrade.
- */
- public function testBareUpgrade() {
- $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');
-
-
- $this->assertTrue(module_exists('entity'), 'Entity module enabled after upgrade.');
- }
- }