From 22f707632c9c6e24c235e626ce6160a6808226f8 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Fri, 28 Sep 2012 12:52:32 -0700 Subject: [PATCH] Issue #1797374 by xjm: Remove t() from test assertions in PHP module --- .../modules/php/lib/Drupal/php/Tests/PhpAccessTest.php | 4 ++-- .../modules/php/lib/Drupal/php/Tests/PhpFilterTest.php | 6 +++--- core/modules/php/lib/Drupal/php/Tests/PhpTestBase.php | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/core/modules/php/lib/Drupal/php/Tests/PhpAccessTest.php b/core/modules/php/lib/Drupal/php/Tests/PhpAccessTest.php index ec7f740d392..f85c9f13319 100644 --- a/core/modules/php/lib/Drupal/php/Tests/PhpAccessTest.php +++ b/core/modules/php/lib/Drupal/php/Tests/PhpAccessTest.php @@ -30,10 +30,10 @@ class PhpAccessTest extends PhpTestBase { // 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', 'PHP code was not evaluated.'); // Make sure that user doesn't have access to filter. $this->drupalGet('node/' . $node->nid . '/edit'); - $this->assertNoRaw('