예제 #1
0
 public function testSetsUserAuthorisationUrlFromOptionsArray()
 {
     $options = array('userAuthorisationUrl' => 'http://www.example.com/authorise');
     $consumer = new Zend_Oauth_Consumer($options);
     $this->assertEquals('http://www.example.com/authorise', $consumer->getUserAuthorisationUrl());
 }