Skip to content

Commit 6b872d2

Browse files
author
Roman Ganin
committed
MAGETWO-33403: Fix integration test for performance toolkit
- decreased profile size for test
1 parent bbef162 commit 6b872d2

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

dev/tests/integration/testsuite/Magento/ToolkitFramework/ApplicationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static function setUpBeforeClass()
3636
public function testTest()
3737
{
3838
$config = \Magento\ToolkitFramework\Config::getInstance();
39-
$config->loadConfig(self::$_generatorWorkingDir . '/profiles/ce/small.xml');
39+
$config->loadConfig(__DIR__ . '/_files/small.xml');
4040
/** @var \Magento\TestFramework\Application $itfApplication */
4141
$itfApplication = \Magento\TestFramework\Helper\Bootstrap::getInstance()->getBootstrap()->getApplication();
4242
$shell = $this->getMock('Magento\Framework\Shell', [], [], '', false);
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © 2015 Magento. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<config>
9+
<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 -->
21+
</profile>
22+
</config>

0 commit comments

Comments
 (0)