Skip to content

Commit 78cd5a8

Browse files
author
Bohdan Korablov
committed
MAGETWO-63776: [FT] Update CreateCatalogRulesIndexerTest to consider staging functionality
1 parent 2991a00 commit 78cd5a8

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

dev/tests/functional/tests/app/Magento/Indexer/Test/TestCase/CreateCatalogRulesIndexerTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
*/
5858
class CreateCatalogRulesIndexerTest extends Injectable
5959
{
60+
/* tags */
61+
const SEVERITY = 'S1';
62+
/* end tags */
63+
6064
/**
6165
* Catalog rule index page.
6266
*

dev/tests/functional/tests/app/Magento/Indexer/Test/TestCase/CreateCatalogRulesIndexerTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Indexer\Test\TestCase\CreateCatalogRulesIndexerTest" summary="Create catalog rules indexer test" ticketId="MAGETWO-39072">
1010
<variation name="CreateCatalogRulesIndexerTestVariation1" summary="Testing indexer in several conditions with creation, applying and deleting catalog price rule">
11-
<data name="issue" xsi:type="string">MAGETWO-63776: [FT] Update CreateCatalogRulesIndexerTest to consider staging functionality</data>
12-
<data name="tag" xsi:type="string">stable:no</data>
11+
<data name="tag" xsi:type="string">severity:S1</data>
1312
<data name="customer/dataset" xsi:type="string">customer_US</data>
1413
<data name="products/0" xsi:type="string">catalogProductSimple::simple_10_dollar</data>
1514
<data name="catalogPriceRuleOriginal/dataset" xsi:type="string">active_catalog_price_rule_with_conditions</data>

dev/tests/functional/utils/command.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
*/
66

77
if (isset($_GET['command'])) {
8+
$php = PHP_BINARY ?: (PHP_BINDIR ? PHP_BINDIR . '/php' : 'php');
89
$command = urldecode($_GET['command']);
9-
exec('php -f ../../../../bin/magento ' . $command);
10+
exec($php . ' -f ../../../../bin/magento ' . $command);
1011
} else {
1112
throw new \InvalidArgumentException("Command GET parameter is not set.");
1213
}

0 commit comments

Comments
 (0)