function UserUpdatePathTestCase::testFilledUpgrade
Tests that the update is successful.
File
-
modules/
simpletest/ tests/ upgrade/ update.user.test, line 31
Class
- UserUpdatePathTestCase
- Tests the User 7.0 -> 7.x update path.
Code
public function testFilledUpgrade() {
$this->assertTrue($this->performUpgrade(), 'The update was completed successfully.');
$this->assertTrue(db_index_exists('users', 'picture'), 'The {users}.picture column has an index.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.