/** * Test destroy instance */ public function testDestroyInstance() { $this->assertTrue(self::$infrastructure->WaitStatusInstance(self::$instanceId, Instance::STATUS_RUNNING)); $this->assertTrue(self::$infrastructure->destroyInstance(self::$instanceId)); }
/** * Test destroy instance */ public function testDestroyInstance() { $this->assertTrue($this->infrastructure->destroyInstance(self::SERVER_ID)); $this->assertTrue($this->infrastructure->isSuccessful()); }
/** * Test destroy instance */ public function testDestroyInstance() { $this->assertTrue(self::$infrastructure->destroyInstance(self::$instanceId)); }