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

@@ -14,6 +14,7 @@ class AdminAppBootstrapResourceTest extends TestCase
'codigo' => 'shopit',
'nombre' => 'ShopIt',
'dominio' => 'admin.shopit.test',
'site_title' => 'ShopIt Website Type',
]);
$websiteType->setRelation('siteLogo', null);
$websiteType->setRelation('footerLogo', null);
@@ -23,6 +24,7 @@ class AdminAppBootstrapResourceTest extends TestCase
])->resolve(request());
$this->assertSame('shopit', $data['website_type_code']);
$this->assertSame('ShopIt Website Type', $data['site_title']);
$this->assertNull($data['favicon']);
$this->assertArrayNotHasKey('forms', $data);
}