Index: tests/mollom.test =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/mollom/tests/mollom.test,v retrieving revision 1.80 diff -u -p -r1.80 mollom.test --- tests/mollom.test 11 Jan 2011 15:21:24 -0000 1.80 +++ tests/mollom.test 16 Jan 2011 20:12:52 -0000 @@ -2086,7 +2086,9 @@ class MollomProfileFormsTestCase extends $this->postCorrectCaptcha(NULL, array(), t('Create new account')); $this->assertText(t('A welcome message with further instructions has been sent to your e-mail address.')); - $this->assertTrue(user_load_by_name($name), t('New user was found in database.')); + $account = user_load_by_name($name); + $this->assertTrue($account, t('New user was found in database.')); + $this->assertMollomData('user', $account->uid); } }