/** * Setup before running each test case */ public function setUp() { parent::setUp(); $this->api = new VserversApi($this->apiClient); $this->serverName = $this->api->getServersConfig()->getServers()[0]->getServerName(); $this->assertEquals($this->api->getServersConfig()->getServers()[0]->getServerName(), Configuration::$DEFAULT_SERVER); }
/** * Setup before running each test case */ public function setUp() { parent::setUp(); $this->api = new VserversserverNamevhostsApi($this->apiClient); }
/** * Setup before running each test case */ public function setUp() { parent::setUp(); $this->api = new VserversserverNamevhostsvhostNameapplicationsApi($this->apiClient); $result = $this->api->getApplicationsConfig(Configuration::$DEFAULT_SERVER, Configuration::$DEFAULT_VHOST); $this->application = $result->getApplications()[0]->getId(); }