From b3265dbe174ce0efefa181b8af6c1eaea3ff22c2 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 11 Oct 2009 03:07:21 +0000 Subject: #557292 by peximo, plach, catch, and yched: Convert node title to Field API. --- 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 5b995ed6f..142f7a858 100644 --- a/modules/php/php.test +++ b/modules/php/php.test @@ -67,7 +67,7 @@ class PHPFilterTestCase extends PHPTestCase { $langcode = FIELD_LANGUAGE_NONE; $edit["body[$langcode][0][value_format]"] = $this->php_code_format; $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.')); + $this->assertRaw(t('Page %title has been updated.', array('%title' => $node->title[FIELD_LANGUAGE_NONE][0]['value'])), t('PHP code filter turned on.')); // Make sure that the PHP code shows up as text. $this->assertNoText('print', t('PHP code isn\'t displayed.')); -- cgit v1.2.3