From 4a0e68e838bd44f431747116073cec1bd5b07ba0 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 27 Sep 2008 19:47:43 +0000 Subject: =?UTF-8?q?#125315=20by=20chx,=20sun,=20G=C3=A1bor=20Hojtsy,=20dru?= =?UTF-8?q?mm,=20and=20friends:=20Add=20#input=5Fformat=20FAPI=20property?= =?UTF-8?q?=20that=20can=20be=20used=20by=20WYSIWYG=20editors.=20WOOHOO.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/php/php.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/php') 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 -- cgit v1.2.3