Skip to content

Commit 2f4645c

Browse files
author
Joan He
committed
MAGETWO-38380: Add "all" store code to APIs to allow APIs to work with all stores
1 parent 0f45ac0 commit 2f4645c

File tree

1 file changed

+1
-2
lines changed
  • dev/tests/api-functional/framework/Magento/TestFramework/TestCase/Webapi/Adapter

1 file changed

+1
-2
lines changed

dev/tests/api-functional/framework/Magento/TestFramework/TestCase/Webapi/Adapter/Soap.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ public function generateWsdlUrl($services, $storeCode = null)
122122
/** Sort list of services to avoid having different WSDL URLs for the identical lists of services. */
123123
//TODO: This may change since same resource of multiple versions may be allowed after namespace changes
124124
ksort($services);
125-
/** @var \Magento\Store\Model\StoreManagerInterface $storeManager */
126-
if ($storeCode !== null) {
125+
if ($storeCode == null) {
127126
$storeCode = Bootstrap::getObjectManager()
128127
->get('Magento\Store\Model\StoreManagerInterface')
129128
->getStore()

0 commit comments

Comments
 (0)