Backend\Modules\Authentication\Tests\Action\IndexTest::testPrivateRedirectsToAuthentication PHP Method

testPrivateRedirectsToAuthentication() public method

    public function testPrivateRedirectsToAuthentication()
    {
        $client = static::createClient();
        $client->followRedirects();
        $this->loadFixtures($client);
        $client->request('GET', '/private');
        self::assertStringEndsWith('/private/en/authentication?querystring=%2Fprivate%2Fen', $client->getHistory()->current()->getUri());
    }