diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php index d03ca71..062b857 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php @@ -28,8 +28,10 @@ */ protected $secret; - - function setUp() { + /** + * {@inheritdoc} + */ + public function setUp() { parent::setUp(); $this->secret = $this->randomName(); @@ -44,7 +46,7 @@ function setUp() { /** * Tests basic load/save/delete operations. */ - function testCRUD() { + public function testCRUD() { $php = $this->storageFactory->get('simpletest'); $this->assertSame(get_class($php), $this->storageClass); $this->assertCRUD($php); @@ -59,7 +61,7 @@ function testCRUD() { * We need to delay over 1 second for mtime test. * @medium */ - function testSecurity() { + public function testSecurity() { $php = $this->storageFactory->get('simpletest'); $name = 'simpletest.php'; $php->save($name, '