feat(website): add site_title to AdminAppBootstrapResource and related tests

This commit is contained in:
2026-09-09 16:29:37 -03:00
parent e9521e65d0
commit 55dcc2e37f
4 changed files with 7 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ class BootstrapAdminAppControllerTest extends TestCase
'codigo' => 'shopit',
'nombre' => 'ShopIt',
'dominio' => 'admin.shopit.test',
'site_title' => 'ShopIt Website Type',
'primary_color' => '#112233',
'secondary_color' => '#445566',
'danger_color' => '#aa0000',
@@ -38,6 +39,7 @@ class BootstrapAdminAppControllerTest extends TestCase
$this->getJson('/api/v1/adminapp/bootstrap/ADMIN.SHOPIT.TEST')
->assertOk()
->assertJsonPath('data.website_type_code', 'shopit')
->assertJsonPath('data.site_title', 'ShopIt Website Type')
->assertJsonPath('data.primary_color', '#112233')
->assertJsonPath('data.warning_color', '#ffaa00')
->assertJsonPath('data.login_header_footer_color', '#313131')