fix HHVM tests

This commit is contained in:
Christian Flothmann 2018-01-15 13:27:55 +01:00
parent 70c8c2d47b
commit da21003459

View File

@ -45,18 +45,18 @@ class RequestTest extends TestCase
public function testGetUser() public function testGetUser()
{ {
$request = Request::create('http://user_test:password_test@test.com/'); $request = Request::create('http://user:password@test.com');
$user = $request->getUser(); $user = $request->getUser();
$this->assertEquals('user_test', $user); $this->assertEquals('user', $user);
} }
public function testGetPassword() public function testGetPassword()
{ {
$request = Request::create('http://user_test:password_test@test.com/'); $request = Request::create('http://user:password@test.com');
$password = $request->getPassword(); $password = $request->getPassword();
$this->assertEquals('password_test', $password); $this->assertEquals('password', $password);
} }
public function testIsNoCache() public function testIsNoCache()