Rewrite integration tests to run with Docker containers

This commit is contained in:
Frederic Guillot
2016-06-25 14:34:46 -04:00
parent fc93203e4d
commit 922e0fb6de
49 changed files with 1337 additions and 1637 deletions

View File

@@ -73,13 +73,13 @@ class ProjectApi extends BaseApi
return $valid ? $this->projectModel->create($values) : false;
}
public function updateProject($id, $name, $description = null)
public function updateProject($project_id, $name, $description = null)
{
$values = array(
'id' => $id,
$values = $this->filterValues(array(
'id' => $project_id,
'name' => $name,
'description' => $description
);
));
list($valid, ) = $this->projectValidator->validateModification($values);
return $valid && $this->projectModel->update($values);