function UserUpgradePathDuplicatedPermissionTestCase::testUserUpgrade

Test a successful upgrade.

File

modules/simpletest/tests/upgrade/upgrade.user.test, line 95

Class

UserUpgradePathDuplicatedPermissionTestCase
Upgrade test for user.module (duplicated permission).

Code

public function testUserUpgrade() {
    if ($this->skipUpgradeTest) {
        return;
    }
    $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');
}

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