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

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

    public function successfulAuthenticationDoesNotStartASessionIfNoTokenRequiresIt()
    {
        $uri = new Uri('http://localhost/test/security/authentication/httpbasic');
        $request = Request::create($uri);
        $request->setHeader('Authorization', 'Basic ' . base64_encode('functional_test_account:a_very_secure_long_password'));
        $response = $this->browser->sendRequest($request);
        $this->assertEmpty($response->getCookies());
    }