summaryrefslogtreecommitdiff
path: root/modules/php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-27 19:47:43 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-27 19:47:43 +0000
commit4a0e68e838bd44f431747116073cec1bd5b07ba0 (patch)
tree790251ef055ee2d22b06ebef15e39a1a0dda4af8 /modules/php
parent289b4f77a62b3eb1b598f75c0107d6a326061606 (diff)
downloadbrdo-4a0e68e838bd44f431747116073cec1bd5b07ba0.tar.gz
brdo-4a0e68e838bd44f431747116073cec1bd5b07ba0.tar.bz2
#125315 by chx, sun, Gábor Hojtsy, drumm, and friends: Add #input_format FAPI property that can be used by WYSIWYG editors. WOOHOO.
Diffstat (limited to 'modules/php')
-rw-r--r--modules/php/php.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/php/php.test b/modules/php/php.test
index a046dc808..b127d5ba4 100644
--- a/modules/php/php.test
+++ b/modules/php/php.test
@@ -73,7 +73,7 @@ class PHPFitlerTestCase extends PHPTestCase {
// Change filter to PHP filter and see that PHP code is evaluated.
$edit = array();
- $edit['format'] = 3;
+ $edit['body_format'] = 3;
$this->drupalPost('node/' . $node->nid . '/edit', $edit, t('Save'));
$this->assertRaw(t('Page %title has been updated.', array('%title' => $node->title)), t('PHP code filter turned on.'));
@@ -113,6 +113,6 @@ class PHPAccessTestCase extends PHPTestCase {
// Make sure that user doesn't have access to filter.
$this->drupalGet('node/' . $node->nid . '/edit');
- $this->assertNoFieldByName('format', '3', t('Format not available.'));
+ $this->assertNoFieldByName('body_format', '3', t('Format not available.'));
}
} \ No newline at end of file