Skip to content
Snippets Groups Projects
Commit fc56c024 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent 318436d1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment