File tree Expand file tree Collapse file tree 4 files changed +2
-9
lines changed
dev/tests/integration/testsuite/Magento
Indexer/Product/Eav/Action
Elasticsearch/Controller/Adminhtml/Category Expand file tree Collapse file tree 4 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ protected function setUp()
52
52
* @covers \Magento\Bundle\Model\Product\Type::getSearchableData
53
53
* @magentoDbIsolation disabled
54
54
*/
55
- public function testPrepareProductIndexForBundleProduct ()
55
+ public function testGetSearchableData ()
56
56
{
57
57
$ productRepository = $ this ->objectManager ->create (\Magento \Catalog \Api \ProductRepositoryInterface::class);
58
58
/** @var \Magento\Catalog\Model\Product $bundleProduct */
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ protected function setUp()
42
42
* @magentoDbIsolation disabled
43
43
* @magentoAppIsolation enabled
44
44
* @magentoDataFixture Magento/Catalog/_files/product_simple.php
45
- * @magentoConfigFixture default/catalog/search/engine mysql
46
45
*/
47
46
public function testReindexAll ()
48
47
{
Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ public function testGetUrlInStore()
44
44
45
45
/**
46
46
* @magentoDataFixture Magento/Store/_files/second_store.php
47
- * @magentoConfigFixture default/catalog/search/engine mysql
48
47
* @magentoConfigFixture default_store web/unsecure/base_url http://sample.com/
49
48
* @magentoConfigFixture default_store web/unsecure/base_link_url http://sample.com/
50
49
* @magentoConfigFixture fixturestore_store web/unsecure/base_url http://sample-second.com/
51
50
* @magentoConfigFixture fixturestore_store web/unsecure/base_link_url http://sample-second.com/
52
51
* @magentoDataFixture Magento/Catalog/_files/product_simple_multistore.php
52
+ * @magentoDbIsolation disabled
53
53
* @dataProvider getUrlsWithSecondStoreProvider
54
54
* @magentoAppArea adminhtml
55
55
*/
@@ -83,9 +83,6 @@ public function getUrlsWithSecondStoreProvider()
83
83
];
84
84
}
85
85
86
- /**
87
- * @magentoConfigFixture default/catalog/search/engine mysql
88
- */
89
86
public function testGetProductUrl ()
90
87
{
91
88
$ repository = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->create (
@@ -121,7 +118,6 @@ public function testGetUrlPath()
121
118
122
119
/**
123
120
* @magentoAppArea frontend
124
- * @magentoConfigFixture default/catalog/search/engine mysql
125
121
*/
126
122
public function testGetUrl ()
127
123
{
Original file line number Diff line number Diff line change 13
13
use Magento \Catalog \Api \ProductRepositoryInterface ;
14
14
use Magento \Catalog \Model \Indexer \Category \Product as CategoryIndexer ;
15
15
use Magento \CatalogSearch \Model \Indexer \Fulltext as FulltextIndexer ;
16
- use Magento \Elasticsearch \Model \Config ;
17
16
use Magento \Framework \Api \SearchCriteriaBuilder ;
18
17
use Magento \Framework \Indexer \IndexerInterface ;
19
18
use Magento \Framework \Indexer \IndexerRegistry ;
@@ -44,7 +43,6 @@ protected function setUp()
44
43
*/
45
44
protected function tearDown ()
46
45
{
47
- $ this ->_objectManager ->removeSharedInstance (Config::class);
48
46
$ this ->changeIndexerSchedule (FulltextIndexer::INDEXER_ID , $ this ->indexerSchedule [FulltextIndexer::INDEXER_ID ]);
49
47
$ this ->changeIndexerSchedule (CategoryIndexer::INDEXER_ID , $ this ->indexerSchedule [CategoryIndexer::INDEXER_ID ]);
50
48
You can’t perform that action at this time.
0 commit comments