summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-28 21:46:23 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-28 21:46:23 +0000
commit22f0ba528f7b579868b793664cf9c7875b788fd1 (patch)
treea015d5d0d3fb635d805db3652ddb44c77acf364d /modules/simpletest
parentf31175dcddad07dc6b07d6008108c4ffa3ddea14 (diff)
downloadbrdo-22f0ba528f7b579868b793664cf9c7875b788fd1.tar.gz
brdo-22f0ba528f7b579868b793664cf9c7875b788fd1.tar.bz2
#1007504 by carlos8f, pioterw: Fixed Rehashed passwords after Drupal 6 upgrade fail
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/upgrade/upgrade.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/simpletest/tests/upgrade/upgrade.test b/modules/simpletest/tests/upgrade/upgrade.test
index 0b48db507..263baff48 100644
--- a/modules/simpletest/tests/upgrade/upgrade.test
+++ b/modules/simpletest/tests/upgrade/upgrade.test
@@ -378,6 +378,15 @@ class BasicUpgradePath extends UpgradePathTestCase {
'pass_raw' => 'admin',
));
+ // The previous login should've triggered a password rehash, so login one
+ // more time to make sure the new hash is readable.
+ $this->drupalLogout();
+ $this->drupalLogin((object) array(
+ 'uid' => 1,
+ 'name' => 'admin',
+ 'pass_raw' => 'admin',
+ ));
+
// Test that the site name is correctly displayed.
$this->assertText('Drupal 6', t('The site name is correctly displayed.'));