Skip to content

Commit 92552fa

Browse files
author
Egor Shitikov
committed
MAGETWO-34014: Create fixture or script for changing Magento FPC ttl
1 parent f6e07fa commit 92552fa

File tree

1 file changed

+73
-12
lines changed
  • dev/tests/integration/testsuite/Magento/ToolkitFramework/_files

1 file changed

+73
-12
lines changed

dev/tests/integration/testsuite/Magento/ToolkitFramework/_files/small.xml

Lines changed: 73 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,77 @@
77
-->
88
<config>
99
<profile>
10-
<websites>1</websites> <!-- Number of websites to generate -->
11-
<store_groups>1</store_groups> <!--Number of stores-->
12-
<store_views>1</store_views> <!-- Number of store views -->
13-
<simple_products>30</simple_products> <!-- Simple products count -->
14-
<configurable_products>10</configurable_products> <!--Configurable products count (each configurable has 3 simple products as options, that are not displayed individually in catalog) -->
15-
<categories>5</categories> <!-- Number of categories to generate -->
16-
<categories_nesting_level>3</categories_nesting_level> <!-- Nesting level for categories -->
17-
<catalog_price_rules>1</catalog_price_rules> <!-- Number os catalog price rules -->
18-
<cart_price_rules>1</cart_price_rules> <!-- Number of shopping cart price rules -->
19-
<cart_price_rules_floor>1</cart_price_rules_floor> <!-- The price rule condition: minimum products amount in shopping cart for price rule to be applied -->
20-
<customers>5</customers> <!-- Number of customers to generate -->
10+
<websites>1</websites>
11+
<!-- Number of websites to generate -->
12+
<store_groups>1</store_groups>
13+
<!--Number of stores-->
14+
<store_views>1</store_views>
15+
<!-- Number of store views -->
16+
<simple_products>800</simple_products>
17+
<!-- Simple products count -->
18+
<configurable_products>50</configurable_products>
19+
<!--Configurable products count (each configurable has 3 simple products as options, that are not displayed individually in catalog) -->
20+
<categories>30</categories>
21+
<!-- Number of categories to generate -->
22+
<categories_nesting_level>3</categories_nesting_level>
23+
<!-- Nesting level for categories -->
24+
<catalog_price_rules>10</catalog_price_rules>
25+
<!-- Number os catalog price rules -->
26+
<cart_price_rules>10</cart_price_rules>
27+
<!-- Number of shopping cart price rules -->
28+
<cart_price_rules_floor>2</cart_price_rules_floor>
29+
<!-- The price rule condition: minimum products amount in shopping cart for price rule to be applied -->
30+
<customers>20</customers>
31+
<!-- Number of customers to generate -->
32+
<configs> <!-- Config variables and values for change -->
33+
<config>
34+
<path>admin/security/use_form_key</path>
35+
<scope>default</scope>
36+
<scopeId>0</scopeId>
37+
<value>0</value>
38+
</config>
39+
<config>
40+
<path>carriers/flatrate/active</path>
41+
<scope>default</scope>
42+
<scopeId>0</scopeId>
43+
<value>1</value>
44+
</config>
45+
<config>
46+
<path>system/full_page_cache/ttl</path>
47+
<scope>default</scope>
48+
<scopeId>0</scopeId>
49+
<value>7200</value>
50+
</config>
51+
<config>
52+
<path>system/full_page_cache/caching_application</path>
53+
<scope>default</scope>
54+
<scopeId>0</scopeId>
55+
<value>2</value>
56+
</config>
57+
<config>
58+
<path>checkout/cart/redirect_to_cart</path>
59+
<scope>default</scope>
60+
<scopeId>0</scopeId>
61+
<value>0</value>
62+
</config>
63+
<config>
64+
<path>system/full_page_cache/varnish/access_lis</path>
65+
<scope>default</scope>
66+
<scopeId>0</scopeId>
67+
<value>localhost</value>
68+
</config>
69+
<config>
70+
<path>system/full_page_cache/varnish/backend_host</path>
71+
<scope>default</scope>
72+
<scopeId>0</scopeId>
73+
<value>localhost</value>
74+
</config>
75+
<config>
76+
<path>system/full_page_cache/varnish/backend_port</path>
77+
<scope>default</scope>
78+
<scopeId>0</scopeId>
79+
<value>8080</value>
80+
</config>
81+
</configs>
2182
</profile>
22-
</config>
83+
</config>

0 commit comments

Comments
 (0)