Index: tests/mollom.test =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/mollom/tests/mollom.test,v retrieving revision 1.1.2.75 diff -u -p -r1.1.2.75 mollom.test --- tests/mollom.test 16 Dec 2010 17:42:27 -0000 1.1.2.75 +++ tests/mollom.test 20 Jan 2011 22:33:01 -0000 @@ -1915,7 +1915,9 @@ class MollomProfileFormsTestCase extends $this->postCorrectCaptcha(NULL, array(), t('Create new account')); $this->assertText(t('Your password and further instructions have been sent to your e-mail address.')); - $this->assertTrue(user_load(array('name' => $name)), t('New user was found in database.')); + $account = user_load(array('name' => $name)); + $this->assertTrue($account, t('New user was found in database.')); + $this->assertMollomData('user', $account->uid); } }