function openid2() { $this->set('title', 'OpenID'); $this->expect(is_null($this->get('ERROR')), 'No errors expected at this point', 'ERROR variable is set: ' . $this->get('ERROR.text')); $openid = new OpenID(); $this->expect($openid->verified(), 'OpenID account verified: ' . $openid->identity, 'OpenID account failed verification: ' . $openid->identity); echo $this->render('basic/results.htm'); }