fix: make project template inheritance granular and safe
This commit is contained in:
@@ -243,6 +243,13 @@ class ProjectTemplateControllerTest extends TestCase
|
||||
'position' => 1,
|
||||
'is_parent' => false,
|
||||
]);
|
||||
$inheritingProject->refresh()->forceFill(['template_overrides' => []])->saveQuietly();
|
||||
$overriddenProject->refresh()->forceFill([
|
||||
'template_overrides' => [
|
||||
DuplicateProjectConfiguration::COPY_PROJECT_SETTINGS,
|
||||
DuplicateProjectConfiguration::COPY_TICKET_TYPES,
|
||||
],
|
||||
])->saveQuietly();
|
||||
|
||||
$sourceProject->forceFill([
|
||||
'show_author' => true,
|
||||
|
||||
Reference in New Issue
Block a user