Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / http-foundation / Tests / Session / Storage / PhpBridgeSessionStorageTest.php
index 5cfb328d3095c572c9114d0ca5adcc73e209f5dc..b8b98386c3367c482bf94b4b4585753c40e75854 100644 (file)
@@ -60,34 +60,7 @@ class PhpBridgeSessionStorageTest extends TestCase
         return $storage;
     }
 
-    public function testPhpSession53()
-    {
-        if (\PHP_VERSION_ID >= 50400) {
-            $this->markTestSkipped('Test skipped, for PHP 5.3 only.');
-        }
-
-        $storage = $this->getStorage();
-
-        $this->assertFalse(isset($_SESSION));
-        $this->assertFalse($storage->getSaveHandler()->isActive());
-
-        session_start();
-        $this->assertTrue(isset($_SESSION));
-        // in PHP 5.3 we cannot reliably tell if a session has started
-        $this->assertFalse($storage->getSaveHandler()->isActive());
-        // PHP session might have started, but the storage driver has not, so false is correct here
-        $this->assertFalse($storage->isStarted());
-
-        $key = $storage->getMetadataBag()->getStorageKey();
-        $this->assertFalse(isset($_SESSION[$key]));
-        $storage->start();
-        $this->assertTrue(isset($_SESSION[$key]));
-    }
-
-    /**
-     * @requires PHP 5.4
-     */
-    public function testPhpSession54()
+    public function testPhpSession()
     {
         $storage = $this->getStorage();