feat(menu): add label field to menu model and update related functionality
This commit is contained in:
@@ -19,6 +19,7 @@ class TenantMenuControllerTest extends TestCase
|
||||
$tenant = $this->createTenant();
|
||||
$menu = Menu::query()->create([
|
||||
'code' => 'about',
|
||||
'label' => 'Nosotros',
|
||||
'content_type' => Menu::CONTENT_TYPE_STATIC,
|
||||
'static_content_schema' => [
|
||||
'title' => 'required|string|max:20',
|
||||
@@ -51,6 +52,7 @@ class TenantMenuControllerTest extends TestCase
|
||||
$tenant = $this->createTenant();
|
||||
$menu = Menu::query()->create([
|
||||
'code' => 'about',
|
||||
'label' => 'Nosotros',
|
||||
'content_type' => Menu::CONTENT_TYPE_STATIC,
|
||||
'static_content_schema' => [
|
||||
'title' => 'required|string|max:20',
|
||||
@@ -85,6 +87,7 @@ class TenantMenuControllerTest extends TestCase
|
||||
$tenant = $this->createTenant();
|
||||
$menu = Menu::query()->create([
|
||||
'code' => 'catalog',
|
||||
'label' => 'Catálogo',
|
||||
'route' => '/catalog',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user