public function setUp() { Provider::config(array('host' => 'localhost', 'oauth_consumer_key' => 'key', 'oauth_consumer_secret' => 'secret')); }
protected function _init() { parent::_init(); Provider::config(array('host' => $this->request->env('SERVER_NAME'), 'request' => $this->request->env('base') . '/oauth/request_token', 'access' => $this->request->env('base') . '/oauth/access_token', 'authorize' => $this->request->env('base') . '/oauth/authorize', 'port' => 30501)); }