diff options
Diffstat (limited to 'modules/dashboard/dashboard.test')
-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 6d9a21e4f..3b6961485 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, t('Admin has access to the dashboard.')); - $this->assertRaw($custom_block['title'], t('Admin has access to a dashboard block.')); + $this->assertResponse(200, 'Admin has access to the dashboard.'); + $this->assertRaw($custom_block['title'], '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, t('Non-admin has no access to the dashboard.')); - $this->assertNoText($custom_block['title'], t('Non-admin has no access to a dashboard block.')); + $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.'); } } |