8000 [HttpFoundation] fix HHVM tests by xabbuh · Pull Request #25795 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[HttpFoundation] fix HHVM tests #25795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix HHVM tests
  • Loading branch information
xabbuh committed Jan 15, 2018
commit da21003459b462f1070c743a13b41ebe9e78af54
8 changes: 4 additions & 4 deletions src/Symfony/Component/HttpFoundation/Tests/RequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ public function testGetLocale()

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

$this->assertEquals('user_test', $user);
$this->assertEquals('user', $user);
}

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

$this->assertEquals('password_test', $password);
$this->assertEquals('password', $password);
}

public function testIsNoCache()
Expand Down
0