public function RequestTest::testGetUser in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::testGetUser()
File
- vendor/
symfony/ http-foundation/ Tests/ RequestTest.php, line 56
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testGetUser() {
$request = Request::create('http://user_test:password_test@test.com/');
$user = $request
->getUser();
$this
->assertEquals('user_test', $user);
}