8000 Merge branch '2.8' into 3.3 · symfony/symfony@ff40995 · GitHub
[go: up one dir, main page]

Skip to content

Commit ff40995

Browse files
committed
Merge branch '2.8' into 3.3
* 2.8: fix HHVM tests minor #25752 Don't right trim the deprecation message (alexpott)
2 parents f978588 + a920061 commit ff40995

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)
0