summaryrefslogtreecommitdiffstats
path: root/Csrf/Tests/TokenStorage/SessionTokenStorageTest.php
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2015-10-08 11:41:54 +0200
committerNicolas Grekas <nicolas.grekas@gmail.com>2015-10-10 11:00:45 +0200
commitb0d19eeb6e8f6e5a66264d6b64ba0d2fb451b92d (patch)
treeec165a2b23b82a5c99a82e971d722f058aa89157 /Csrf/Tests/TokenStorage/SessionTokenStorageTest.php
parent13818e3015a2a20025ae65b6f57756795eaeda7e (diff)
downloadsymfony-security-b0d19eeb6e8f6e5a66264d6b64ba0d2fb451b92d.zip
symfony-security-b0d19eeb6e8f6e5a66264d6b64ba0d2fb451b92d.tar.gz
symfony-security-b0d19eeb6e8f6e5a66264d6b64ba0d2fb451b92d.tar.bz2
[tests] Use @requires annotation when possible
Diffstat (limited to 'Csrf/Tests/TokenStorage/SessionTokenStorageTest.php')
-rw-r--r--Csrf/Tests/TokenStorage/SessionTokenStorageTest.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/Csrf/Tests/TokenStorage/SessionTokenStorageTest.php b/Csrf/Tests/TokenStorage/SessionTokenStorageTest.php
index 4166c1e..0eac0a8 100644
--- a/Csrf/Tests/TokenStorage/SessionTokenStorageTest.php
+++ b/Csrf/Tests/TokenStorage/SessionTokenStorageTest.php
@@ -32,10 +32,6 @@ class SessionTokenStorageTest extends \PHPUnit_Framework_TestCase
protected function setUp()
{
- if (!interface_exists('Symfony\Component\HttpFoundation\Session\SessionInterface')) {
- $this->markTestSkipped('The "HttpFoundation" component is not available');
- }
-
$this->session = $this->getMockBuilder('Symfony\Component\HttpFoundation\Session\SessionInterface')
->disableOriginalConstructor()
->getMock();