only in patch2: unchanged: --- a/modules/openid/openid.test +++ b/modules/openid/openid.test @@ -481,7 +481,7 @@ class OpenIDRegistrationTestCase extends OpenIDWebTestCase { function testRegisterUserWithInvalidSreg() { // Tell openid_test.module to respond with these SREG fields. $web_user = $this->drupalCreateUser(array()); - variable_set('openid_test_response', array('openid.sreg.nickname' => $web_user->name, 'openid.sreg.email' => 'mail@invalid#')); + variable_set('openid_test_response', array('openid.sreg.nickname' => $web_user->name, 'openid.sreg.email' => 'foo')); // Use a User-supplied Identity that is the URL of an XRDS document. $identity = url('openid-test/yadis/xrds', array('absolute' => TRUE)); @@ -489,7 +489,7 @@ class OpenIDRegistrationTestCase extends OpenIDWebTestCase { $this->assertRaw(t('Account registration using the information provided by your OpenID provider failed due to the reasons listed below. Complete the registration by filling out the form below. If you already have an account, you can log in now and add your OpenID under "My account".', array('@login' => url('user/login'))), 'User was asked to complete the registration process manually.'); $this->assertRaw(t('The name %name is already taken.', array('%name' => $web_user->name)), 'Form validation error for username was displayed.'); - $this->assertRaw(t('The e-mail address %mail is not valid.', array('%mail' => 'mail@invalid#')), 'Form validation error for e-mail address was displayed.'); + $this->assertRaw(t('The e-mail address %mail is not valid.', array('%mail' => 'foo')), 'Form validation error for e-mail address was displayed.'); // Enter username and e-mail address manually. $edit = array('name' => 'john', 'mail' => 'john@example.com');