feat(brand): add header background color to brand resource
This commit is contained in:
@@ -53,6 +53,7 @@ class AdminAppBrandControllerTest extends TestCase
|
||||
$tenant = $this->tenant('acme', $websiteType, [
|
||||
'nombre' => 'Acme',
|
||||
'primary_color' => '#112233',
|
||||
'header_bg_color' => '#223344',
|
||||
'footer_bg_color' => '#445566',
|
||||
'header_logo_id' => $header->id,
|
||||
'footer_logo_id' => $footer->id,
|
||||
@@ -73,6 +74,7 @@ class AdminAppBrandControllerTest extends TestCase
|
||||
->assertOk()
|
||||
->assertJsonPath('data.nombre', 'Acme')
|
||||
->assertJsonPath('data.primary_color', '#112233')
|
||||
->assertJsonPath('data.header_bg_color', '#223344')
|
||||
->assertJsonPath('data.footer_bg_color', '#445566')
|
||||
->assertJsonCount(2, 'data.banner_images');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user