File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
framework/Magento/TestFramework
testsuite/Magento/Catalog/Helper Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ public function registerAnnotations(\Magento\TestFramework\Application $applicat
40
40
*
41
41
* Note: order of registering (and applying) annotations is important.
42
42
* To allow config fixtures to deal with fixture stores, data fixtures should be processed first.
43
+ * ConfigFixture applied twice because data fixtures could clean config and clean custom settings
43
44
*
44
45
* @param \Magento\TestFramework\Application $application
45
46
* @return array
@@ -68,6 +69,7 @@ protected function _getSubscribers(\Magento\TestFramework\Application $applicati
68
69
new \Magento \TestFramework \Annotation \AppArea ($ application ),
69
70
new \Magento \TestFramework \Annotation \Cache ($ application ),
70
71
new \Magento \TestFramework \Annotation \AdminConfigFixture (),
72
+ new \Magento \TestFramework \Annotation \ConfigFixture (),
71
73
];
72
74
}
73
75
}
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ class ObjectManager extends \Magento\Framework\App\ObjectManager
24
24
* @var array
25
25
*/
26
26
protected $ persistedInstances = [
27
- \Magento \TestFramework \App \Config::class,
28
- \Magento \Framework \App \Config \ScopeConfigInterface::class,
29
27
\Magento \Framework \App \ResourceConnection::class,
30
28
\Magento \Framework \Config \Scope::class,
31
29
\Magento \Framework \ObjectManager \RelationsInterface::class,
Original file line number Diff line number Diff line change @@ -248,6 +248,7 @@ public function testGetPageTemplateProcessor()
248
248
* @magentoDataFixture Magento/Customer/_files/customer.php
249
249
* @magentoDataFixture Magento/Customer/_files/customer_address.php
250
250
* @magentoDbIsolation enabled
251
+ * @magentoAppIsolation enabled
251
252
* @dataProvider getTaxPriceDataProvider
252
253
*/
253
254
public function testGetTaxPrice (
You can’t perform that action at this time.
0 commit comments