/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * * @access protected * @return void */ protected function setUp() { parent::setUp(); $this->object = new Adsense($this->options, $this->auth); $this->object->setOption('clientid', '01234567891011.apps.googleusercontent.com'); $this->object->setOption('clientsecret', 'jeDs8rKw_jDJW8MMf-ff8ejs'); $this->object->setOption('redirecturi', 'http://localhost/oauth'); }
/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * * @access protected * @return void */ protected function setUp() { parent::setUp(); $this->xml = new \SimpleXMLElement(file_get_contents(__DIR__ . '/album.txt')); $this->object = new Album($this->xml, $this->options, $this->auth); $this->object->setOption('clientid', '01234567891011.apps.googleusercontent.com'); $this->object->setOption('clientsecret', 'jeDs8rKw_jDJW8MMf-ff8ejs'); $this->object->setOption('redirecturi', 'http://localhost/oauth'); }
/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * * @access protected * @return void */ protected function setUp() { parent::setUp(); $this->object = new Google($this->options, $this->auth); }