bc88c3345904407eb2e3b1aa5c5d1ecf38d8af8b
[yaffs-website] / Drupal / Tests / Component / PhpStorage / MTimeProtectedFileStorageTest.php
1 <?php
2
3 namespace Drupal\Tests\Component\PhpStorage;
4
5 /**
6  * Tests the MTimeProtectedFileStorage implementation.
7  *
8  * @coversDefaultClass \Drupal\Component\PhpStorage\MTimeProtectedFileStorage
9  *
10  * @group Drupal
11  * @group PhpStorage
12  */
13 class MTimeProtectedFileStorageTest extends MTimeProtectedFileStorageBase {
14
15   /**
16    * The expected test results for the security test.
17    *
18    * The default implementation protects against even the filemtime change so
19    * both iterations will return FALSE.
20    */
21   protected $expected = [FALSE, FALSE];
22
23   /**
24    * The PHP storage class to test.
25    */
26   protected $storageClass = 'Drupal\Component\PhpStorage\MTimeProtectedFileStorage';
27
28 }