From 47371be0a5353aef7b34d5bdc70d31c6fd249dfc Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 7 Mar 2010 23:14:20 +0000 Subject: #414424 by sun, chx, Arancaytar, yched, et al: Introduce Form API #type 'text_format' for additional DX/security around rich text fields. --- modules/php/php.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/php') 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.')); -- cgit v1.2.3