summaryrefslogtreecommitdiff
path: root/modules/php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-03 20:16:59 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-03 20:16:59 +0000
commitc5f36a4bb6d3d6d55ac526ba2edec29930580d4e (patch)
tree1a6ed2493d8365c6040ca76ab87321c86985760e /modules/php
parent0b6c0cb6ff1335675e63b70cf921c7379ac02526 (diff)
downloadbrdo-c5f36a4bb6d3d6d55ac526ba2edec29930580d4e.tar.gz
brdo-c5f36a4bb6d3d6d55ac526ba2edec29930580d4e.tar.bz2
#673252 by Jody Lynn: Fix vague test in PHP module.
Diffstat (limited to 'modules/php')
-rw-r--r--modules/php/php.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/php/php.test b/modules/php/php.test
index 778cb1052..daffd4683 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.'));
}
}