AuthenticationHttpTest::testAuthRealm PHP Method

testAuthRealm() public method

public testAuthRealm ( )
    public function testAuthRealm()
    {
        $GLOBALS['cfg']['Server']['host'] = '';
        $GLOBALS['cfg']['Server']['auth_http_realm'] = 'rĂȘĂ€ealmmessage';
        $this->doMockResponse(1, 1, 1, array('WWW-Authenticate: Basic realm="realmmessage"'), array('HTTP/1.0 401 Unauthorized'), array('status: 401 Unauthorized'));
    }