summaryrefslogtreecommitdiffstats
path: root/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2012-10-31 17:45:37 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2012-11-06 09:15:19 +0100
commit5512b0a91ae03413414d689184cb0f260807a291 (patch)
tree8c437c0bd421978609b10056ea9987932a3aca4a /Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php
parentb20dc084818bf7f59dd4ff937896f4236821055c (diff)
downloadsymfony-security-5512b0a91ae03413414d689184cb0f260807a291.zip
symfony-security-5512b0a91ae03413414d689184cb0f260807a291.tar.gz
symfony-security-5512b0a91ae03413414d689184cb0f260807a291.tar.bz2
[Security] removed the 401 error custom status message
Diffstat (limited to 'Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php')
-rw-r--r--Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php b/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php
index b442309..b9e289d 100644
--- a/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php
+++ b/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php
@@ -34,7 +34,6 @@ class BasicAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase
$this->assertEquals('Basic realm="TheRealmName"', $response->headers->get('WWW-Authenticate'));
$this->assertEquals(401, $response->getStatusCode());
- $this->assertAttributeEquals('The exception message', 'statusText', $response);
}
public function testStartWithoutAuthException()
@@ -47,6 +46,5 @@ class BasicAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase
$this->assertEquals('Basic realm="TheRealmName"', $response->headers->get('WWW-Authenticate'));
$this->assertEquals(401, $response->getStatusCode());
- $this->assertAttributeEquals('Unauthorized', 'statusText', $response);
}
}