3 namespace Drupal\Tests\Component\PhpStorage;
6 * Tests the MTimeProtectedFastFileStorage implementation.
8 * @coversDefaultClass \Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage
13 class MTimeProtectedFastFileStorageTest extends MTimeProtectedFileStorageBase {
16 * The expected test results for the security test.
18 * The first iteration does not change the directory mtime so this class will
19 * include the hacked file on the first try but the second test will change
20 * the directory mtime and so on the second try the file will not be included.
22 protected $expected = [TRUE, FALSE];
25 * The PHP storage class to test.
27 protected $storageClass = 'Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage';