Skip to content
Snippets Groups Projects
Commit 3c72acb8 authored by Alexander Hass's avatar Alexander Hass
Browse files

Document what we expect from the test.

parent 172fe367
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment