summaryrefslogtreecommitdiffstats
path: root/Tests/Http/EntryPoint
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2013-08-23 17:27:50 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2013-08-23 17:27:50 +0200
commitcfaabcc76c7b47b3e5e3b09ae5657315c9594c82 (patch)
tree416f8e872534684142bc26cde85e4baf8f67c04b /Tests/Http/EntryPoint
parentdbc6f9f8cfebf4dede4639a733305baec94ab3bb (diff)
parent2defac09f53c04202772f442f0612d9664f9b185 (diff)
downloadsymfony-security-cfaabcc76c7b47b3e5e3b09ae5657315c9594c82.zip
symfony-security-cfaabcc76c7b47b3e5e3b09ae5657315c9594c82.tar.gz
symfony-security-cfaabcc76c7b47b3e5e3b09ae5657315c9594c82.tar.bz2
merged branch fabpot/tests-simplification (PR #8796)
This PR was merged into the master branch. Discussion ---------- removed deps checks in unit tests | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a 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. see fabpot/Silex#626 where we did the same a while ago for Silex. Commits ------- de50621 removed deps checks in unit tests
Diffstat (limited to 'Tests/Http/EntryPoint')
-rw-r--r--Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php7
-rw-r--r--Tests/Http/EntryPoint/DigestAuthenticationEntryPointTest.php7
-rw-r--r--Tests/Http/EntryPoint/FormAuthenticationEntryPointTest.php11
-rw-r--r--Tests/Http/EntryPoint/RetryAuthenticationEntryPointTest.php7
4 files changed, 0 insertions, 32 deletions
diff --git a/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php b/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php
index b9e289d..5640789 100644
--- a/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php
+++ b/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php
@@ -16,13 +16,6 @@ use Symfony\Component\Security\Core\Exception\AuthenticationException;
class BasicAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase
{
- protected function setUp()
- {
- if (!class_exists('Symfony\Component\HttpFoundation\Request')) {
- $this->markTestSkipped('The "HttpFoundation" component is not available');
- }
- }
-
public function testStart()
{
$request = $this->getMock('Symfony\Component\HttpFoundation\Request');
diff --git a/Tests/Http/EntryPoint/DigestAuthenticationEntryPointTest.php b/Tests/Http/EntryPoint/DigestAuthenticationEntryPointTest.php
index 8dfd618..5c6eccc 100644
--- a/Tests/Http/EntryPoint/DigestAuthenticationEntryPointTest.php
+++ b/Tests/Http/EntryPoint/DigestAuthenticationEntryPointTest.php
@@ -17,13 +17,6 @@ use Symfony\Component\Security\Core\Exception\NonceExpiredException;
class DigestAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase
{
- protected function setUp()
- {
- if (!class_exists('Symfony\Component\HttpFoundation\Request')) {
- $this->markTestSkipped('The "HttpFoundation" component is not available');
- }
- }
-
public function testStart()
{
$request = $this->getMock('Symfony\Component\HttpFoundation\Request');
diff --git a/Tests/Http/EntryPoint/FormAuthenticationEntryPointTest.php b/Tests/Http/EntryPoint/FormAuthenticationEntryPointTest.php
index cbec1bd..097912d 100644
--- a/Tests/Http/EntryPoint/FormAuthenticationEntryPointTest.php
+++ b/Tests/Http/EntryPoint/FormAuthenticationEntryPointTest.php
@@ -16,17 +16,6 @@ use Symfony\Component\HttpKernel\HttpKernelInterface;
class FormAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase
{
- protected function setUp()
- {
- if (!class_exists('Symfony\Component\HttpFoundation\Request')) {
- $this->markTestSkipped('The "HttpFoundation" component is not available');
- }
-
- if (!class_exists('Symfony\Component\HttpKernel\HttpKernel')) {
- $this->markTestSkipped('The "HttpKernel" component is not available');
- }
- }
-
public function testStart()
{
$request = $this->getMock('Symfony\Component\HttpFoundation\Request', array(), array(), '', false, false);
diff --git a/Tests/Http/EntryPoint/RetryAuthenticationEntryPointTest.php b/Tests/Http/EntryPoint/RetryAuthenticationEntryPointTest.php
index 91de1ca..1d918ac 100644
--- a/Tests/Http/EntryPoint/RetryAuthenticationEntryPointTest.php
+++ b/Tests/Http/EntryPoint/RetryAuthenticationEntryPointTest.php
@@ -16,13 +16,6 @@ use Symfony\Component\HttpFoundation\Request;
class RetryAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase
{
- protected function setUp()
- {
- if (!class_exists('Symfony\Component\HttpFoundation\Request')) {
- $this->markTestSkipped('The "HttpFoundation" component is not available');
- }
- }
-
/**
* @dataProvider dataForStart
*/