AuthenticationCookieTest::testAuthCheckExpires PHP Method

testAuthCheckExpires() public method

Test for PMA\libraries\plugins\auth\AuthenticationConfig::authCheck
public testAuthCheckExpires ( ) : void
return void
    public function testAuthCheckExpires()
    {
        $GLOBALS['server'] = 1;
        $_COOKIE['pmaServer-1'] = 'pmaServ1';
        $_COOKIE['pmaUser-1'] = 'pmaUser1';
        $_COOKIE['pma_iv-1'] = base64_encode('testiv09testiv09');
        $_COOKIE['pmaAuth-1'] = '';
        $GLOBALS['cfg']['blowfish_secret'] = 'secret';
        $_SESSION['last_access_time'] = time() - 1000;
        $GLOBALS['cfg']['LoginCookieValidity'] = 1440;
        $this->assertFalse($this->object->authCheck());
    }