From 7f88540b4bdd8f9a4d5050ae6c870fc794a29e8a Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 10 Sep 2009 12:33:46 +0000 Subject: #564632 by moshe weitzman: Unify various _build() functions and remove duplicate copy of content. --- modules/openid/openid.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/openid') 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('', 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.')); -- cgit v1.2.3