public function testAuthLogoutUrl() { $_REQUEST['old_usr'] = '1'; $GLOBALS['cfg']['Server']['LogoutURL'] = 'https://example.com/logout'; $this->doMockResponse(0, 0, 0, array('Location: https://example.com/logout')); }