eZ\Bundle\EzPublishRestBundle\Tests\Functional\SessionTest::testRefreshSessionExpired PHP Метод

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

    public function testRefreshSessionExpired()
    {
        $session = $this->login();
        $response = $this->sendHttpRequest($this->createDeleteRequest($session));
        self::assertHttpResponseCodeEquals($response, 204);
        $response = $this->sendHttpRequest($this->createRefreshRequest($session));
        self::assertHttpResponseCodeEquals($response, 404);
        self::assertHttpResponseDeletesSessionCookie($session, $response);
    }