diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-07 23:14:20 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-07 23:14:20 +0000 |
commit | 47371be0a5353aef7b34d5bdc70d31c6fd249dfc (patch) | |
tree | 9373f976babd62d6cfe6de905e3bc8ea8bb6b6b0 /modules/php | |
parent | c5bfbe7fa6bf237cf956a9367be2aa723bf9bdaf (diff) | |
download | brdo-47371be0a5353aef7b34d5bdc70d31c6fd249dfc.tar.gz brdo-47371be0a5353aef7b34d5bdc70d31c6fd249dfc.tar.bz2 |
#414424 by sun, chx, Arancaytar, yched, et al: Introduce Form API #type 'text_format' for additional DX/security around rich text fields.
Diffstat (limited to 'modules/php')
-rw-r--r-- | modules/php/php.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/php/php.test b/modules/php/php.test index 6de50973e..6f36e4f5f 100644 --- a/modules/php/php.test +++ b/modules/php/php.test @@ -77,7 +77,7 @@ class PHPFilterTestCase extends PHPTestCase { // Change filter to PHP filter and see that PHP code is evaluated. $edit = array(); $langcode = LANGUAGE_NONE; - $edit["body[$langcode][0][value_format]"] = $this->php_code_format; + $edit["body[$langcode][0][format]"] = $this->php_code_format; $this->drupalPost('node/' . $node->nid . '/edit', $edit, t('Save')); $this->assertRaw(t('Basic page %title has been updated.', array('%title' => $node->title)), t('PHP code filter turned on.')); |