summaryrefslogtreecommitdiff
path: root/vendor/symfony/cache/Tests/Adapter/Psr16AdapterTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/cache/Tests/Adapter/Psr16AdapterTest.php')
-rw-r--r--vendor/symfony/cache/Tests/Adapter/Psr16AdapterTest.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/vendor/symfony/cache/Tests/Adapter/Psr16AdapterTest.php b/vendor/symfony/cache/Tests/Adapter/Psr16AdapterTest.php
new file mode 100644
index 0000000000..19907ddf78
--- /dev/null
+++ b/vendor/symfony/cache/Tests/Adapter/Psr16AdapterTest.php
@@ -0,0 +1,31 @@
+<?php
+
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Symfony\Component\Cache\Tests\Adapter;
+
+use Symfony\Component\Cache\Adapter\FilesystemAdapter;
+use Symfony\Component\Cache\Adapter\Psr16Adapter;
+use Symfony\Component\Cache\Psr16Cache;
+
+/**
+ * @group time-sensitive
+ */
+class Psr16AdapterTest extends AdapterTestCase
+{
+ protected $skippedTests = [
+ 'testPrune' => 'Psr16adapter just proxies',
+ ];
+
+ public function createCachePool($defaultLifetime = 0)
+ {
+ return new Psr16Adapter(new Psr16Cache(new FilesystemAdapter()), '', $defaultLifetime);
+ }
+}