feat(storefront): configure checkout summary type

This commit is contained in:
2026-09-21 10:59:28 -03:00
parent 14c81fec1b
commit 6d077647ba
7 changed files with 64 additions and 8 deletions

View File

@@ -37,7 +37,8 @@ class BootstrapTenantControllerTest extends TestCase
->assertJsonCount(1, 'data.event_categories')
->assertJsonPath('data.event_categories.0.id', $eventCategory->id)
->assertJsonPath('data.event_categories.0.nombre', 'Música')
->assertJsonPath('data.event_categories.0.subcategories', []);
->assertJsonPath('data.event_categories.0.subcategories', [])
->assertJsonPath('data.checkout_summary_type', StorefrontWebsiteType::CHECKOUT_SUMMARY_EVENT);
}
public function test_it_bootstraps_a_tenant_by_domain(): void
@@ -125,6 +126,7 @@ class BootstrapTenantControllerTest extends TestCase
->assertJsonPath('data.checkout_editing_policy.allow_delete', false)
->assertJsonPath('data.checkout_editing_policy.allow_update_quantity', false)
->assertJsonPath('data.checkout_editing_policy.allow_update_variant', false)
->assertJsonPath('data.checkout_summary_type', StorefrontWebsiteType::CHECKOUT_SUMMARY_DEFAULT)
->assertJsonPath('data.display_cart_item_images', false)
->assertJsonPath('data.header_bg_color', '#ffffff')->assertJsonPath('data.footer_bg_color', '#ffffff');