From 3c72acb8135b6af311a1ae79057578007b025b09 Mon Sep 17 00:00:00 2001 From: hass <hass@85918.no-reply.drupal.org> Date: Sat, 16 Jun 2018 15:37:25 +0200 Subject: [PATCH] Document what we expect from the test. --- src/Tests/PhpFilterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tests/PhpFilterTest.php b/src/Tests/PhpFilterTest.php index dd6e95d..8b5b521 100644 --- a/src/Tests/PhpFilterTest.php +++ b/src/Tests/PhpFilterTest.php @@ -41,7 +41,7 @@ class PhpFilterTest extends PhpTestBase { $this->assertNoText('print "SimpleTest PHP was executed!"', "PHP code isn't displayed."); $this->assertText('SimpleTest PHP was executed!', 'PHP code has been evaluated.'); - // Cache test. + // Verify that cache is disabled for PHP evaluates. $this->assertText('Current state is empty', 'PHP code has been evaluated once.'); \Drupal::state()->set('php_state_test', 'not empty'); $this->drupalGet('node/' . $node->id()); -- GitLab