diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-10 12:33:46 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-10 12:33:46 +0000 |
commit | 7f88540b4bdd8f9a4d5050ae6c870fc794a29e8a (patch) | |
tree | 2e29ae0d87b67729fa64d524d25e7815705c3777 /modules/openid | |
parent | 66317fbea078bb9d5dedb9463bef95070525ebb2 (diff) | |
download | brdo-7f88540b4bdd8f9a4d5050ae6c870fc794a29e8a.tar.gz brdo-7f88540b4bdd8f9a4d5050ae6c870fc794a29e8a.tar.bz2 |
#564632 by moshe weitzman: Unify various _build() functions and remove duplicate copy of content.
Diffstat (limited to 'modules/openid')
-rw-r--r-- | modules/openid/openid.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/openid/openid.test b/modules/openid/openid.test index 4a746d01c..ac6defb54 100644 --- a/modules/openid/openid.test +++ b/modules/openid/openid.test @@ -88,7 +88,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase { // Submit form to the OpenID Provider Endpoint. $this->drupalPost(NULL, array(), t('Send')); - $this->assertText(t('My account'), t('User was logged in.')); + $this->assertText($this->web_user->name, t('User was logged in.')); } /** @@ -150,7 +150,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase { // so the form is submitted manually instead. $this->assertRaw('<script type="text/javascript">document.getElementById("openid-redirect-form").submit();</script>', t('JavaScript form submission found.')); $this->drupalPost(NULL, array(), t('Send')); - $this->assertText(t('My account'), t('User was logged in.')); + $this->assertText('johndoe', t('User was logged in.')); $user = user_load_by_name('johndoe'); $this->assertTrue($user, t('User was found.')); |