Fixing some issues with project default branches, adding tests for that too

This commit is contained in:
Dan Cryer 2014-07-14 14:59:04 +01:00
commit cb53ec9c6d
6 changed files with 111 additions and 9 deletions

View file

@ -76,6 +76,10 @@ class ProjectService
$project->setAllowPublicStatus((int)$options['allow_public_status']);
}
if (array_key_exists('branch', $options)) {
$project->setBranch($options['branch']);
}
// Allow certain project types to set access information:
$this->processAccessInformation($project);