summaryrefslogtreecommitdiff
path: root/modules/php/php.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/php/php.test')
-rw-r--r--modules/php/php.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/php/php.test b/modules/php/php.test
index 6ee4f3a59..84ddb6c55 100644
--- a/modules/php/php.test
+++ b/modules/php/php.test
@@ -13,7 +13,7 @@ class PHPTestCase extends DrupalWebTestCase {
$this->drupalLogin($admin_user);
// Confirm that the PHP filter is #3.
- $this->drupalGet('admin/settings/filters/3');
+ $this->drupalGet('admin/settings/filter/3');
$this->assertText('PHP code', t('On PHP code filter page.'));
}
@@ -53,7 +53,7 @@ class PHPFilterTestCase extends PHPTestCase {
$edit = array();
$edit['roles[2]'] = TRUE; // Set authenticated users to have permission to use filter.
$this->drupalPost(NULL, $edit, 'Save configuration');
- $this->assertText(t('The input format settings have been updated.'), t('PHP format available to authenticated users.'));
+ $this->assertText(t('The text format settings have been updated.'), t('PHP format available to authenticated users.'));
// Create node with PHP filter enabled.
$web_user = $this->drupalCreateUser(array('access content', 'create page content', 'edit own page content'));
@@ -105,4 +105,4 @@ class PHPAccessTestCase extends PHPTestCase {
$this->drupalGet('node/' . $node->nid . '/edit');
$this->assertNoFieldByName('body_format', '3', t('Format not available.'));
}
-} \ No newline at end of file
+}