Mercurial > hg > isophonics-drupal-site
view core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\Tests\Component\PhpStorage; /** * Tests the MTimeProtectedFileStorage implementation. * * @coversDefaultClass \Drupal\Component\PhpStorage\MTimeProtectedFileStorage * * @group Drupal * @group PhpStorage */ class MTimeProtectedFileStorageTest extends MTimeProtectedFileStorageBase { /** * The expected test results for the security test. * * The default implementation protects against even the filemtime change so * both iterations will return FALSE. */ protected $expected = [FALSE, FALSE]; /** * The PHP storage class to test. */ protected $storageClass = 'Drupal\Component\PhpStorage\MTimeProtectedFileStorage'; }