@@ -176,11 +176,13 @@ public function getBaseUrlDataProvider()
176
176
*/
177
177
public function testGetBaseUrlInPub ()
178
178
{
179
- \Magento \TestFramework \Helper \Bootstrap::getInstance ()->reinitialize ([
180
- Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS => [
181
- DirectoryList::PUB => [DirectoryList::URL_PATH => '' ],
182
- ],
183
- ]);
179
+ \Magento \TestFramework \Helper \Bootstrap::getInstance ()->reinitialize (
180
+ [
181
+ Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS => [
182
+ DirectoryList::PUB => [DirectoryList::URL_PATH => '' ],
183
+ ],
184
+ ]
185
+ );
184
186
185
187
$ this ->model = $ this ->_getStoreModel ();
186
188
$ this ->model ->load ('default ' );
@@ -283,7 +285,7 @@ public function testGetCurrentUrl()
283
285
{
284
286
$ objectManager = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ();
285
287
$ objectManager ->get (\Magento \Framework \App \Config \MutableScopeConfigInterface::class)
286
- ->setValue ('web/url/use_store ' , true , ScopeInterface::SCOPE_STORE , 'secondstore ' );
288
+ ->setValue ('web/url/use_store ' , true , ScopeInterface::SCOPE_STORE , 'secondstore ' );
287
289
288
290
$ this ->model ->load ('admin ' );
289
291
$ this ->model
@@ -318,7 +320,7 @@ public function testGetCurrentUrl()
318
320
/**
319
321
* @magentoDataFixture Magento/Store/_files/second_store.php
320
322
* @magentoDataFixture Magento/Catalog/_files/category_product.php
321
- * @magentoDbIsolation disabled
323
+ * @magentoDbIsolation enabled
322
324
*/
323
325
public function testGetCurrentUrlWithUseStoreInUrlFalse ()
324
326
{
@@ -366,14 +368,16 @@ public function testGetCurrentUrlWithUseStoreInUrlFalse()
366
368
*/
367
369
public function testCRUD ()
368
370
{
369
- $ this ->model ->setData ([
370
- 'code ' => 'test ' ,
371
- 'website_id ' => 1 ,
372
- 'group_id ' => 1 ,
373
- 'name ' => 'test name ' ,
374
- 'sort_order ' => 0 ,
375
- 'is_active ' => 1 ,
376
- ]);
371
+ $ this ->model ->setData (
372
+ [
373
+ 'code ' => 'test ' ,
374
+ 'website_id ' => 1 ,
375
+ 'group_id ' => 1 ,
376
+ 'name ' => 'test name ' ,
377
+ 'sort_order ' => 0 ,
378
+ 'is_active ' => 1 ,
379
+ ]
380
+ );
377
381
$ crud = new \Magento \TestFramework \Entity (
378
382
$ this ->model ,
379
383
['name ' => 'new name ' ],
@@ -446,8 +450,8 @@ public function testIsUseStoreInUrl($storeInUrl, $disableStoreInUrl, $expectedRe
446
450
}
447
451
448
452
/**
449
- * @see self::testIsUseStoreInUrl;
450
453
* @return array
454
+ * @see self::testIsUseStoreInUrl;
451
455
*/
452
456
public function isUseStoreInUrlDataProvider ()
453
457
{
0 commit comments