예제 #1
0
파일: ConsumerTest.php 프로젝트: travisj/zf
 public function testSetUserAuthorizationUrlThrowsExceptionForInvalidUrl()
 {
     $config = array('consumerKey' => '12345', 'consumerSecret' => '54321');
     $consumer = new Zend_Oauth_Consumer($config);
     try {
         $consumer->setUserAuthorizationUrl('buckyball');
         $this->fail('Invalid url accepted by setUserAuthorizationUrl');
     } catch (Zend_Oauth_Exception $e) {
     }
 }