feat(bootstrap): expose website type favicon
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user