Neos\Flow\Tests\Unit\Security\Authentication\EntryPoint\WebRedirectTest::startAuthenticationDoesNotPrefixAConfiguredUriIfItsAbsolute PHP Method

startAuthenticationDoesNotPrefixAConfiguredUriIfItsAbsolute() public method

    public function startAuthenticationDoesNotPrefixAConfiguredUriIfItsAbsolute()
    {
        $request = Request::create(new Uri('http://robertlemke.com/admin'));
        $response = new Response();
        $entryPoint = new WebRedirect();
        $entryPoint->setOptions(['uri' => 'http://some.abs/olute/url']);
        $entryPoint->startAuthentication($request, $response);
        $this->assertEquals('http://some.abs/olute/url', $response->getHeader('Location'));
    }