summaryrefslogtreecommitdiffstats
path: root/Http/Tests
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-11-10 14:34:42 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2015-11-10 14:34:42 +0100
commit8b79dc69a34467ae2cab5e98aba73ab3b5221605 (patch)
tree14b7c581c3eebe69719f5a5000a2a051a0a13984 /Http/Tests
parenta24ab6c7c436dfbb3b690e28425b8f0af8b65e6d (diff)
parentb78eacaa57a9b0171fd4817b99510ab15f60d778 (diff)
downloadsymfony-security-8b79dc69a34467ae2cab5e98aba73ab3b5221605.zip
symfony-security-8b79dc69a34467ae2cab5e98aba73ab3b5221605.tar.gz
symfony-security-8b79dc69a34467ae2cab5e98aba73ab3b5221605.tar.bz2
Merge branch '2.8'v3.0.0-BETA1
* 2.8: Fixed tabs when there are several groups of tabs in the same page Fix mode Fixed failing test for HHVM Removed unused logic in MockStream Update coding standard for MockStream [Filesystem] added tempnam() stream wrapper aware version of PHP's native tempnam() and fixed dumpFile to allow dumping to streams Renamed key to secret
Diffstat (limited to 'Http/Tests')
-rw-r--r--Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php b/Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php
index 181e340..4082986 100644
--- a/Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php
+++ b/Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php
@@ -23,7 +23,7 @@ class DigestAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase
$authenticationException = new AuthenticationException('TheAuthenticationExceptionMessage');
- $entryPoint = new DigestAuthenticationEntryPoint('TheRealmName', 'TheKey');
+ $entryPoint = new DigestAuthenticationEntryPoint('TheRealmName', 'TheSecret');
$response = $entryPoint->start($request, $authenticationException);
$this->assertEquals(401, $response->getStatusCode());
@@ -34,7 +34,7 @@ class DigestAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase
{
$request = $this->getMock('Symfony\Component\HttpFoundation\Request');
- $entryPoint = new DigestAuthenticationEntryPoint('TheRealmName', 'TheKey');
+ $entryPoint = new DigestAuthenticationEntryPoint('TheRealmName', 'TheSecret');
$response = $entryPoint->start($request);
$this->assertEquals(401, $response->getStatusCode());
@@ -47,7 +47,7 @@ class DigestAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase
$nonceExpiredException = new NonceExpiredException('TheNonceExpiredExceptionMessage');
- $entryPoint = new DigestAuthenticationEntryPoint('TheRealmName', 'TheKey');
+ $entryPoint = new DigestAuthenticationEntryPoint('TheRealmName', 'TheSecret');
$response = $entryPoint->start($request, $nonceExpiredException);
$this->assertEquals(401, $response->getStatusCode());