#656300 by JoshuaRogers: Fixed Typo in system.test prevents D7 from passing tests.

merge-requests/26/head
Angie Byron 2009-12-10 17:22:35 +00:00
parent 318436d199
commit fc56c024d3
1 changed files with 2 additions and 2 deletions

View File

@ -554,7 +554,7 @@ class AccessDeniedTestCase extends DrupalWebTestCase {
function testAccessDenied() {
$this->drupalGet('admin');
$this->assertText(t('Access denied'), t('Found the default 403 page'));
$this->assertReponse(403);
$this->assertResponse(403);
$edit = array(
'title' => array(LANGUAGE_NONE => array(array('value' => $this->randomName(10)))),
@ -584,7 +584,7 @@ class AccessDeniedTestCase extends DrupalWebTestCase {
$this->drupalGet('admin');
$this->assertText(t('Access denied'), t('Found the default 403 page'));
$this->assertReponse(403);
$this->assertResponse(403);
$this->assertText(t('User login'), t('Blocks are shown on the default 403 page'));
// Log back in, set the custom 403 page to /user and remove the block