Neos\Flow\Tests\Functional\Security\AuthenticationTest::theInterceptedRequestIsStoredInASessionForLaterRetrieval PHP Метод

theInterceptedRequestIsStoredInASessionForLaterRetrieval() публичный Метод

On trying to access a restricted resource Flow should first store the current request in the session and then redirect to the entry point. After successful authentication the intercepted request should be contained in the security context and can be fetched from there.
    public function theInterceptedRequestIsStoredInASessionForLaterRetrieval()
    {
        $this->markTestIncomplete();
        // At this time, we can't really test this case because the security context
        // does not contain any authentication tokens or a properly configured entry
        // point. Also the browser lacks support for cookies which would enable us
        // to simulate a full round trip.
        // -> should be a redirect to some login page
        // -> then: send login form
        // -> then: expect a redirect to the above page and $this->securityContext->getInterceptedRequest() should contain the expected request
    }