-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1052 from magento-troll/troll_bugfix_kanban
MAGETWO-60746 [GITHUB] Edit default store view will stop saying that Default store cannot be disabled #7349 MAGETWO-63736 503 error when trying to make tax_class_id attribute Not Searchable MAGETWO-63601 [GitHub] Running indexer:reindex catalog_category_product fails due to limit 500 #8018
- Loading branch information
Showing
8 changed files
with
113 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
dev/tests/functional/tests/app/Magento/Store/Test/TestStep/RestoreDefaultStoreViewStep.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Magento\Store\Test\TestStep; | ||
|
||
use Magento\Mtf\TestStep\TestStepInterface; | ||
use Magento\Store\Test\Fixture\Store; | ||
|
||
/** | ||
* Restore DefaultStore view. | ||
*/ | ||
class RestoreDefaultStoreViewStep implements TestStepInterface | ||
{ | ||
/** | ||
* Fixture of Store View. | ||
* | ||
* @var Store | ||
*/ | ||
private $storeView; | ||
|
||
/** | ||
* @param Store $storeView | ||
*/ | ||
public function __construct(Store $storeView) | ||
{ | ||
$this->storeView = $storeView; | ||
} | ||
|
||
/** | ||
* Restore Default Store View. | ||
* | ||
* @return void | ||
*/ | ||
public function run() | ||
{ | ||
$this->storeView->persist(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters