public function setUp() { $this->savedCustomerKey = Traackr\TraackrApi::getCustomerKey(); // Try to remove all existing tags // when run with @read-ony group this APi call might not be allowed // so cactch expcetion and ignore try { // remove all tags Traackr\Influencers::tagRemove(array('tags' => array($this->infTag, $this->infTag2, $this->infTagUTF8), 'all' => true)); } catch (Traackr\TraackrApiException $e) { // Ignore } // Ensure output is PHP by default Traackr\TraackrApi::setJsonOutput(false); }
public function setUp() { $this->savedCustomerKey = Traackr\TraackrApi::getCustomerKey(); // Ensure outout is PHP by default Traackr\TraackrApi::setJsonOutput(false); }