diff --git a/core/modules/php/lib/Drupal/php/Tests/PhpAccessTest.php b/core/modules/php/lib/Drupal/php/Tests/PhpAccessTest.php index ec7f740..f85c9f1 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('