feat: differentiate between header and footer colors

This commit is contained in:
2026-07-01 15:37:46 -03:00
parent 52b422c1ca
commit 3285015841
12 changed files with 123 additions and 33 deletions

View File

@@ -40,7 +40,6 @@ class AttributeControllerTest extends TestCase
$response
->assertCreated()
->assertJsonPath('data.tenant_codigo', 'acme')
->assertJsonPath('data.codigo', 'color')
->assertJsonPath('data.type', 'select')
->assertJsonPath('data.options.0.value', 'red')
@@ -123,7 +122,8 @@ class AttributeControllerTest extends TestCase
'secondary_color' => '#222222',
'danger_color' => '#333333',
'success_color' => '#28a745',
'header_footer_bg_color' => '#444444',
'header_bg_color' => '#444444',
'footer_bg_color' => '#444444',
'header_logo_id' => $headerAttachment->id,
'footer_logo_id' => $footerAttachment->id,
]);