feat(bootstrap): expose website type favicon

This commit is contained in:
2026-08-26 14:37:25 -03:00
parent ff61a3d3b8
commit bbe3cf82f5
6 changed files with 11 additions and 2 deletions

View File

@@ -17,11 +17,13 @@ class AdminAppBootstrapResourceTest extends TestCase
]);
$websiteType->setRelation('siteLogo', null);
$websiteType->setRelation('footerLogo', null);
$websiteType->setRelation('favicon', null);
$data = AdminAppBootstrapResource::make([
'website_type' => $websiteType,
])->resolve(request());
$this->assertSame('shopit', $data['website_type_code']);
$this->assertNull($data['favicon']);
$this->assertArrayNotHasKey('forms', $data);
}
}