diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-08-05 23:53:39 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-08-05 23:53:39 +0000 |
commit | 25171a17f626695ecf984cc44b60d3eae1310b4c (patch) | |
tree | 3268ef89294cbb96d0875d665012c4ff16d8c68a /modules/dashboard | |
parent | cacd044a6398df92de68c5aea31987ac0fff507a (diff) | |
download | brdo-25171a17f626695ecf984cc44b60d3eae1310b4c.tar.gz brdo-25171a17f626695ecf984cc44b60d3eae1310b4c.tar.bz2 |
Reverting #500866. Needs more discussion.
Diffstat (limited to 'modules/dashboard')
-rw-r--r-- | modules/dashboard/dashboard.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/dashboard/dashboard.test b/modules/dashboard/dashboard.test index 3b6961485..6d9a21e4f 100644 --- a/modules/dashboard/dashboard.test +++ b/modules/dashboard/dashboard.test @@ -47,14 +47,14 @@ class DashboardAccessTestCase extends DrupalWebTestCase { // Ensure admin access. $this->drupalGet('admin'); - $this->assertResponse(200, 'Admin has access to the dashboard.'); - $this->assertRaw($custom_block['title'], 'Admin has access to a dashboard block.'); + $this->assertResponse(200, t('Admin has access to the dashboard.')); + $this->assertRaw($custom_block['title'], t('Admin has access to a dashboard block.')); // Ensure non-admin access is denied. $normal_user = $this->drupalCreateUser(); $this->drupalLogin($normal_user); $this->drupalGet('admin'); - $this->assertResponse(403, 'Non-admin has no access to the dashboard.'); - $this->assertNoText($custom_block['title'], 'Non-admin has no access to a dashboard block.'); + $this->assertResponse(403, t('Non-admin has no access to the dashboard.')); + $this->assertNoText($custom_block['title'], t('Non-admin has no access to a dashboard block.')); } } |