public function UserUpdatePathTestCase::testFilledUpgrade in Drupal 7
Tests that the update is successful.
File
- modules/
simpletest/ tests/ upgrade/ update.user.test, line 31 - Provides update path tests for the User module.
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.');
}