More updates to stop using dev or alpha or beta versions.
[yaffs-website] / web / core / tests / Drupal / Tests / Component / PhpStorage / MTimeProtectedFastFileStorageTest.php
1 <?php
2
3 namespace Drupal\Tests\Component\PhpStorage;
4
5 /**
6  * Tests the MTimeProtectedFastFileStorage implementation.
7  *
8  * @coversDefaultClass \Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage
9  *
10  * @group Drupal
11  * @group PhpStorage
12  */
13 class MTimeProtectedFastFileStorageTest extends MTimeProtectedFileStorageBase {
14
15   /**
16    * The expected test results for the security test.
17    *
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.
21    */
22   protected $expected = [TRUE, FALSE];
23
24   /**
25    * The PHP storage class to test.
26    */
27   protected $storageClass = 'Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage';
28
29 }