public function testChangeAdminPass() { if (empty(self::$serverId)) { $this->markTestSkipped('The server ID is empty'); } $this->assertTrue($this->compute->changeAdminPass(self::$serverId, '1234567890')); }
/** * Change the admin password of the server * * @param string $password * @return bool */ public function changeAdminPass($password) { $result = $this->service->changeAdminPass($this->id, $password); if ($result) { $this->adminPass = $password; } return $result; }