File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
dev/tests/api-functional/testsuite/Magento/Sales/Service/V1 Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ public function testUserWithRestrictedWebsiteAndStoreGroup()
9393 {
9494 $ order = $ this ->fixtures ->get ('order ' );
9595 $ orderIncrementId = $ order ->getData ('increment_id ' );
96+ $ storeCode = $ order ->getStore ()->getCode ();
9697 $ this ->nullifyOrderStateStatus ((int ) $ order ->getId ());
9798
9899 $ user = $ this ->fixtures ->get ('allUser ' );
@@ -101,7 +102,8 @@ public function testUserWithRestrictedWebsiteAndStoreGroup()
101102 'rest ' => [
102103 'resourcePath ' => '/V1/orders/ ' . $ orderIncrementId ,
103104 'httpMethod ' => 'GET ' ,
104- 'token ' => $ accessToken
105+ 'token ' => $ accessToken ,
106+ 'headers ' => ['Store ' => $ storeCode ],
105107 ]
106108 ];
107109 $ result = $ this ->_webApiCall ($ serviceInfo );
You can’t perform that action at this time.
0 commit comments