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
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -554,7 +554,7 @@ class AccessDeniedTestCase extends DrupalWebTestCase { ...@@ -554,7 +554,7 @@ class AccessDeniedTestCase extends DrupalWebTestCase {
function testAccessDenied() { function testAccessDenied() {
$this->drupalGet('admin'); $this->drupalGet('admin');
$this->assertText(t('Access denied'), t('Found the default 403 page')); $this->assertText(t('Access denied'), t('Found the default 403 page'));
$this->assertReponse(403); $this->assertResponse(403);
$edit = array( $edit = array(
'title' => array(LANGUAGE_NONE => array(array('value' => $this->randomName(10)))), 'title' => array(LANGUAGE_NONE => array(array('value' => $this->randomName(10)))),
...@@ -584,7 +584,7 @@ class AccessDeniedTestCase extends DrupalWebTestCase { ...@@ -584,7 +584,7 @@ class AccessDeniedTestCase extends DrupalWebTestCase {
$this->drupalGet('admin'); $this->drupalGet('admin');
$this->assertText(t('Access denied'), t('Found the default 403 page')); $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')); $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 // 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