You are here

protected property MTimeProtectedFastFileStorageTest::$expected in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFastFileStorageTest.php \Drupal\Tests\Component\PhpStorage\MTimeProtectedFastFileStorageTest::expected

The expected test results for the security test.

The first iteration does not change the directory mtime so this class will include the hacked file on the first try but the second test will change the directory mtime and so on the second try the file will not be included.

File

core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFastFileStorageTest.php, line 22

Class

MTimeProtectedFastFileStorageTest
Tests the MTimeProtectedFastFileStorage implementation.

Namespace

Drupal\Tests\Component\PhpStorage

Code

protected $expected = [
  TRUE,
  FALSE,
];