Skip to content

Commit e7b5d14

Browse files
Andrei Maletsnikshostko
authored andcommitted
MAGETWO-54708: bin/magento setup:performance:generate-fixtures fails if you have mysql auto_increment > 1
- Refactoring
1 parent e43afbb commit e7b5d14

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup/src/Magento/Setup/Fixtures/EavVariationsFixture.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ public function introduceParamLabels()
114114
*/
115115
private function generateAttribute($optionCount)
116116
{
117-
$stores = $this->storeManager->getStores();
118-
$storeIds = array_merge([0], array_keys($stores));
117+
$storeIds = array_keys($this->storeManager->getStores(true));
119118
$options = [];
120119

121120
for ($option = 1; $option <= $optionCount; $option++) {

0 commit comments

Comments
 (0)