Move remaining project metadata ownership to templates
This commit is contained in:
@@ -285,7 +285,12 @@ class ProjectControllerTest extends TestCase
|
||||
|
||||
$project->refresh();
|
||||
|
||||
$this->assertSame($template->id, $project->project_template_id);
|
||||
$this->assertNotSame($template->id, $project->project_template_id);
|
||||
$this->assertDatabaseHas('project_templates', [
|
||||
'id' => $project->project_template_id,
|
||||
'project_id' => $project->id,
|
||||
'is_published' => false,
|
||||
]);
|
||||
$this->assertSame(false, $project->show_author);
|
||||
$this->assertSame(false, $project->show_story_points);
|
||||
$this->assertDatabaseHas('ticket_types', [
|
||||
|
||||
Reference in New Issue
Block a user