Skip to content

Commit b9d9c5e

Browse files
committed
MC-20322: [Forwardport] Disable statistic collecting for Reports module
1 parent 0ed3bbb commit b9d9c5e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

dev/tests/functional/tests/app/Magento/Sales/Test/TestCase/MoveRecentlyComparedProductsOnOrderPageTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ public function __prepare(Customer $customer, BrowserInterface $browser, Config
114114
->create(LoginCustomerOnFrontendStep::class, ['customer' => $customer])
115115
->run();
116116
$this->browser = $browser;
117-
118117
$this->config = $config;
119-
$this->config->setConfig('reports/options/enabled', 1);
120118

121119
return ['customer' => $customer];
122120
}
@@ -148,6 +146,12 @@ public function __inject(
148146
$this->catalogProductCompare = $catalogProductCompare;
149147
}
150148

149+
public function setUp()
150+
{
151+
$this->config->setConfig('reports/options/enabled', 1);
152+
parent::setUp();
153+
}
154+
151155
/**
152156
* Move recently compared products on order page.
153157
* @param Customer $customer

0 commit comments

Comments
 (0)