Merge branch 'feature/cart_editing_policy' into dev

This commit is contained in:
2026-08-19 16:47:30 -03:00
32 changed files with 1057 additions and 74 deletions

View File

@@ -44,7 +44,7 @@ class DesfilePuraTendenciaSeederTest extends TestCase
'footer_bg_color' => '#D4441C',
'display_categories' => false,
'display_seach_bar' => false,
'cart_editing_enabled' => false,
'cart_editing_policy' => 'disabled',
'display_cart_item_images' => false,
'site_title' => 'Desfile Pura Tendencia',
]);

View File

@@ -61,6 +61,7 @@ class TenantSeederTest extends TestCase
->sole();
$this->assertSame('shopit', $sonder->website_type_code);
$this->assertSame('quantity_and_remove', $sonder->cart_editing_policy->value);
$carousel = $sonder->websiteExtras
->firstWhere('websiteTypeExtra.codigo', 'carousel');
@@ -81,6 +82,7 @@ class TenantSeederTest extends TestCase
->sole();
$this->assertSame('onticket', $fiesta->website_type_code);
$this->assertSame('full', $fiesta->cart_editing_policy->value);
$extras = $fiesta->websiteExtras->keyBy('websiteTypeExtra.codigo');
$this->assertEqualsCanonicalizing(