Skip to content

Commit 9e7cf69

Browse files
committed
Merge branch '3.3' into 3.4
* 3.3: fix HHVM tests minor symfony#25752 Don't right trim the deprecation message (alexpott)
2 parents 069236e + ff40995 commit 9e7cf69

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Component/HttpFoundation/Tests/RequestTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,18 @@ public function testGetLocale()
5252

5353
public function testGetUser()
5454
{
55-
$request = Request::create('http://user_test:password_test@test.com/');
55+
$request = Request::create('http://user:password@test.com');
5656
$user = $request->getUser();
5757

58-
$this->assertEquals('user_test', $user);
58+
$this->assertEquals('user', $user);
5959
}
6060

6161
public function testGetPassword()
6262
{
63-
$request = Request::create('http://user_test:password_test@test.com/');
63+
$request = Request::create('http://user:password@test.com');
6464
$password = $request->getPassword();
6565

66-
$this->assertEquals('password_test', $password);
66+
$this->assertEquals('password', $password);
6767
}
6868

6969
public function testIsNoCache()

0 commit comments

Comments
 (0)