feat(website): add site_title to AdminAppBootstrapResource and related tests
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user