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