updateVersion() public method

Updates version.
public updateVersion ( integer $version_id, array $params = [] ) : false
$version_id integer Version ID.
$params array Key->Value list to update the version with.
return false
Example #1
0
 public function testUpdateVersion()
 {
     $params = array('overdue' => true, 'description' => 'new description');
     $this->expectClientCall(Api::REQUEST_PUT, '/rest/api/2/version/111000', $params, '');
     $this->assertFalse($this->api->updateVersion(111000, $params));
 }