summaryrefslogtreecommitdiffstats
path: root/Tests/Http
diff options
context:
space:
mode:
authorTobias Schultze <webmaster@tubo-world.de>2015-10-18 17:23:56 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2015-10-18 22:22:24 +0200
commit1c44760b4c6c7d83b21e68e2843d77d6d98be451 (patch)
tree353dba5da606fccf8a8ebc61bae586a71d44508b /Tests/Http
parent01c92f979f9a7b83457045bc562098604adbd454 (diff)
downloadsymfony-security-1c44760b4c6c7d83b21e68e2843d77d6d98be451.zip
symfony-security-1c44760b4c6c7d83b21e68e2843d77d6d98be451.tar.gz
symfony-security-1c44760b4c6c7d83b21e68e2843d77d6d98be451.tar.bz2
[Routing] use constants in testsv2.3.34
Diffstat (limited to 'Tests/Http')
-rw-r--r--Tests/Http/HttpUtilsTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/Http/HttpUtilsTest.php b/Tests/Http/HttpUtilsTest.php
index 019af19..4a69242 100644
--- a/Tests/Http/HttpUtilsTest.php
+++ b/Tests/Http/HttpUtilsTest.php
@@ -14,6 +14,7 @@ namespace Symfony\Component\Security\Tests\Http;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
+use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Security\Core\SecurityContextInterface;
use Symfony\Component\Security\Http\HttpUtils;
@@ -43,7 +44,7 @@ class HttpUtilsTest extends \PHPUnit_Framework_TestCase
$urlGenerator
->expects($this->any())
->method('generate')
- ->with('foobar', array(), true)
+ ->with('foobar', array(), UrlGeneratorInterface::ABSOLUTE_URL)
->will($this->returnValue('http://localhost/foo/bar'))
;
$urlGenerator