Skip to content

Commit da79451

Browse files
committed
MC-29188: Storefront: Create configurable product on (multiple websites/multiple storeviews)
1 parent a92f418 commit da79451

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dev/tests/integration/framework/Magento/TestFramework/Store/ExecuteInStoreContext.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,12 @@ public function execute($store, callable $method, ...$arguments)
4545
if ($currentStore->getCode() !== $storeCode) {
4646
$this->storeManager->setCurrentStore($storeCode);
4747
}
48-
$result = $method(...array_values($arguments));
48+
49+
return $method(...array_values($arguments));
4950
} finally {
5051
if ($currentStore->getCode() !== $storeCode) {
5152
$this->storeManager->setCurrentStore($currentStore);
5253
}
5354
}
54-
55-
return $result;
5655
}
5756
}

0 commit comments

Comments
 (0)