Skip to content

Commit 401229c

Browse files
Update dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/StoreConfigResolverTest.php
Co-authored-by: Shantanu Dasgupta <[email protected]>
1 parent 1844ae8 commit 401229c

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/StoreConfigResolverTest.php

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,23 @@ class StoreConfigResolverTest extends GraphQlAbstract
4646
]
4747
public function testGetStoreConfig(): void
4848
{
49-
$this->assertEquals([
50-
'storeConfig' => [
51-
'is_guest_checkout_enabled' => true,
52-
'is_one_page_checkout_enabled' => true,
53-
'max_items_in_order_summary' => self::MAX_ITEMS_TO_DISPLAY,
54-
'cart_summary_display_quantity' => self::CART_SUMMARY_DISPLAY_TOTAL,
55-
'minicart_display' => true,
56-
'minicart_max_items' => self::MINICART_MAX_ITEMS,
57-
'cart_expires_in_days' => self::CART_EXPIRES_IN_DAYS,
58-
'grouped_product_image' => 'PARENT',
59-
'configurable_product_image' => 'ITSELF',
60-
'is_checkout_agreements_enabled' => true
61-
]
62-
], $this->graphQlQuery($this->getStoreConfigQuery()));
49+
$this->assertEquals(
50+
[
51+
'storeConfig' => [
52+
'is_guest_checkout_enabled' => true,
53+
'is_one_page_checkout_enabled' => true,
54+
'max_items_in_order_summary' => self::MAX_ITEMS_TO_DISPLAY,
55+
'cart_summary_display_quantity' => self::CART_SUMMARY_DISPLAY_TOTAL,
56+
'minicart_display' => true,
57+
'minicart_max_items' => self::MINICART_MAX_ITEMS,
58+
'cart_expires_in_days' => self::CART_EXPIRES_IN_DAYS,
59+
'grouped_product_image' => 'PARENT',
60+
'configurable_product_image' => 'ITSELF',
61+
'is_checkout_agreements_enabled' => true,
62+
],
63+
],
64+
$this->graphQlQuery($this->getStoreConfigQuery())
65+
);
6366
}
6467

6568
/**

0 commit comments

Comments
 (0)