Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / http-foundation / Tests / Session / Storage / Proxy / AbstractProxyTest.php
index f21bcc9632be214df546aff9c0514ebea718445a..ef1da130a2a1a84d0816b733e8e1aa8e3a209933 100644 (file)
@@ -86,50 +86,17 @@ class AbstractProxyTest extends TestCase
         $this->assertFalse($this->proxy->isWrapper());
     }
 
-    public function testIsActivePhp53()
-    {
-        if (\PHP_VERSION_ID >= 50400) {
-            $this->markTestSkipped('Test skipped, for PHP 5.3 only.');
-        }
-
-        $this->assertFalse($this->proxy->isActive());
-    }
-
     /**
      * @runInSeparateProcess
      * @preserveGlobalState disabled
-     * @requires PHP 5.4
      */
-    public function testIsActivePhp54()
+    public function testIsActive()
     {
         $this->assertFalse($this->proxy->isActive());
         session_start();
         $this->assertTrue($this->proxy->isActive());
     }
 
-    public function testSetActivePhp53()
-    {
-        if (\PHP_VERSION_ID >= 50400) {
-            $this->markTestSkipped('Test skipped, for PHP 5.3 only.');
-        }
-
-        $this->proxy->setActive(true);
-        $this->assertTrue($this->proxy->isActive());
-        $this->proxy->setActive(false);
-        $this->assertFalse($this->proxy->isActive());
-    }
-
-    /**
-     * @runInSeparateProcess
-     * @preserveGlobalState disabled
-     * @expectedException \LogicException
-     * @requires PHP 5.4
-     */
-    public function testSetActivePhp54()
-    {
-        $this->proxy->setActive(true);
-    }
-
     /**
      * @runInSeparateProcess
      * @preserveGlobalState disabled
@@ -142,26 +109,12 @@ class AbstractProxyTest extends TestCase
         $this->assertEquals(session_name(), $this->proxy->getName());
     }
 
-    /**
-     * @expectedException \LogicException
-     */
-    public function testNameExceptionPhp53()
-    {
-        if (\PHP_VERSION_ID >= 50400) {
-            $this->markTestSkipped('Test skipped, for PHP 5.3 only.');
-        }
-
-        $this->proxy->setActive(true);
-        $this->proxy->setName('foo');
-    }
-
     /**
      * @runInSeparateProcess
      * @preserveGlobalState disabled
      * @expectedException \LogicException
-     * @requires PHP 5.4
      */
-    public function testNameExceptionPhp54()
+    public function testNameException()
     {
         session_start();
         $this->proxy->setName('foo');
@@ -179,26 +132,12 @@ class AbstractProxyTest extends TestCase
         $this->assertEquals(session_id(), $this->proxy->getId());
     }
 
-    /**
-     * @expectedException \LogicException
-     */
-    public function testIdExceptionPhp53()
-    {
-        if (\PHP_VERSION_ID >= 50400) {
-            $this->markTestSkipped('Test skipped, for PHP 5.3 only.');
-        }
-
-        $this->proxy->setActive(true);
-        $this->proxy->setId('foo');
-    }
-
     /**
      * @runInSeparateProcess
      * @preserveGlobalState disabled
      * @expectedException \LogicException
-     * @requires PHP 5.4
      */
-    public function testIdExceptionPhp54()
+    public function testIdException()
     {
         session_start();
         $this->proxy->setId('foo');