Automatically add the logged user during project creation

This commit is contained in:
Frédéric Guillot
2014-11-25 20:30:59 -05:00
parent 7731f00e29
commit d68fa290bb
3 changed files with 8 additions and 7 deletions

View File

@@ -156,7 +156,7 @@ class ProjectTest extends Base
$this->assertEmpty($project['token']);
// Clone private project
$this->assertEquals(3, $p->create(array('name' => 'Private', 'is_private' => 1), 1));
$this->assertEquals(3, $p->create(array('name' => 'Private', 'is_private' => 1), 1, true));
$this->assertEquals(4, $p->duplicate(3));
$project = $p->getById(4);