Skip to content

Commit a920061

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: fix HHVM tests
2 parents 844d81c + 277219d commit a920061

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
@@ -45,18 +45,18 @@ public function testGetLocale()
4545

4646
public function testGetUser()
4747
{
48-
$request = Request::create('http://user_test:password_test@test.com/');
48+
$request = Request::create('http://user:password@test.com');
4949
$user = $request->getUser();
5050

51-
$this->assertEquals('user_test', $user);
51+
$this->assertEquals('user', $user);
5252
}
5353

5454
public function testGetPassword()
5555
{
56-
$request = Request::create('http://user_test:password_test@test.com/');
56+
$request = Request::create('http://user:password@test.com');
5757
$password = $request->getPassword();
5858

59-
$this->assertEquals('password_test', $password);
59+
$this->assertEquals('password', $password);
6060
}
6161

6262
public function testIsNoCache()

0 commit comments

Comments
 (0)