private function setUpApiClient() { $configurator = new Configuration(); $configurator->setUsername('admin'); $configurator->setPassword('bogino09'); $configurator->setHost('http://or01.top-ix.org:8087'); $configurator->setSSLVerification(false); $configurator->setDebug(false); //turn on just if tests are failing for major debug $this->apiClient = new ApiClient($configurator); }
private function getWowzaRestApiClient() { $config = new Configuration(); $config->setHost($this->getUrl() . ':' . $this->getPort()); $config->setUsername($this->getUsername()); $config->setPassword($this->getPassword()); $config->setSSLVerification(false); $config->setDebug(false); //turn on just if tests are failing for major debug return new ApiClient($config); }