diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-03 20:16:59 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-03 20:16:59 +0000 |
commit | c5f36a4bb6d3d6d55ac526ba2edec29930580d4e (patch) | |
tree | 1a6ed2493d8365c6040ca76ab87321c86985760e /modules/php/php.test | |
parent | 0b6c0cb6ff1335675e63b70cf921c7379ac02526 (diff) | |
download | drupal-c5f36a4bb6d3d6d55ac526ba2edec29930580d4e.tar.gz drupal-c5f36a4bb6d3d6d55ac526ba2edec29930580d4e.zip |
#673252 by Jody Lynn: Fix vague test in PHP module.
Diffstat (limited to 'modules/php/php.test')
-rw-r--r-- | modules/php/php.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/php/php.test b/modules/php/php.test index 778cb1052f1..daffd468396 100644 --- a/modules/php/php.test +++ b/modules/php/php.test @@ -72,7 +72,7 @@ class PHPFilterTestCase extends PHPTestCase { // Make sure that the PHP code shows up as text. $this->drupalGet('node/' . $node->nid); - $this->assertText('print', t('PHP code was not evaluated.')); + $this->assertText('print "SimpleTest PHP was executed!"', t('PHP code is displayed.')); // Change filter to PHP filter and see that PHP code is evaluated. $edit = array(); @@ -82,7 +82,7 @@ class PHPFilterTestCase extends PHPTestCase { $this->assertRaw(t('Page %title has been updated.', array('%title' => $node->title[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.')); + $this->assertNoText('print "SimpleTest PHP was executed!"', t("PHP code isn't displayed.")); $this->assertText('SimpleTest PHP was executed!', t('PHP code has been evaluated.')); } } |