feat(storefront): configure checkout summary type
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user