diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2013-08-19 22:44:13 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2013-08-19 22:44:22 +0200 |
commit | 2defac09f53c04202772f442f0612d9664f9b185 (patch) | |
tree | ec646668a1474c464651231e94cb9e6d061284cd /Tests/Http/Authentication/DefaultAuthenticationSuccessHandlerTest.php | |
parent | 3a63ed4527abf2fa9cc1a240cc2947d2317de182 (diff) | |
download | symfony-security-2defac09f53c04202772f442f0612d9664f9b185.zip symfony-security-2defac09f53c04202772f442f0612d9664f9b185.tar.gz symfony-security-2defac09f53c04202772f442f0612d9664f9b185.tar.bz2 |
removed deps checks in unit tests
As Composer is now widely used in the PHP world, having to run composer
install before running the test suite is expected. This also has the
nice benefit of removing a bunch of code, making things easier to
maintain (there is only one place to declare a dev dependency), and
probably more.
Diffstat (limited to 'Tests/Http/Authentication/DefaultAuthenticationSuccessHandlerTest.php')
-rw-r--r-- | Tests/Http/Authentication/DefaultAuthenticationSuccessHandlerTest.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Tests/Http/Authentication/DefaultAuthenticationSuccessHandlerTest.php b/Tests/Http/Authentication/DefaultAuthenticationSuccessHandlerTest.php index 71d6ad4..3ba6a17 100644 --- a/Tests/Http/Authentication/DefaultAuthenticationSuccessHandlerTest.php +++ b/Tests/Http/Authentication/DefaultAuthenticationSuccessHandlerTest.php @@ -23,10 +23,6 @@ class DefaultAuthenticationSuccessHandlerTest extends \PHPUnit_Framework_TestCas protected function setUp() { - if (!class_exists('Symfony\Component\HttpFoundation\Request')) { - $this->markTestSkipped('The "HttpFoundation" component is not available'); - } - $this->httpUtils = $this->getMock('Symfony\Component\Security\Http\HttpUtils'); $this->request = $this->getMock('Symfony\Component\HttpFoundation\Request'); $this->request->headers = $this->getMock('Symfony\Component\HttpFoundation\HeaderBag'); |