File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
_files/Magento/TestModule1/etc
testsuite/Magento/Webapi/Routing Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 7272 <resource ref =" Magento_TestModule1::resource2" />
7373 </resources >
7474 </route >
75+ <route method =" PUT" url =" /V1/testmodule1/withParam" >
76+ <service class =" Magento\TestModule1\Service\V1\AllSoapAndRestInterface" method =" update" />
77+ <resources >
78+ <resource ref =" Magento_TestModule1::resource1" />
79+ <resource ref =" Magento_TestModule1::resource2" />
80+ </resources >
81+ <data >
82+ <parameter name =" paramId" force =" true" >%param_id%</parameter >
83+ </data >
84+ </route >
7585 <route method =" GET" url =" /V2/testmodule1/:id" >
7686 <service class =" Magento\TestModule1\Service\V2\AllSoapAndRestInterface" method =" item" />
7787 <resources >
103113 <resource ref =" Magento_TestModule1::resource1" />
104114 </resources >
105115 </route >
106- <route method =" PUT" url =" /V2/testmodule1-withparam" >
107- <service class =" Magento\TestModule1\Service\V2\AllSoapAndRestInterface" method =" update" />
108- <data >
109- <parameter name =" paramId" force =" true" >%param_id%</parameter >
110- </data >
111- </route >
112116</routes >
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public function testRequestParamsUnexpectedValueException(): void
105105
106106 $ serviceInfo = [
107107 'rest ' => [
108- 'resourcePath ' => '/V2 /testmodule1-withparam ' ,
108+ 'resourcePath ' => '/V1 /testmodule1/withParam ' ,
109109 'httpMethod ' => Request::HTTP_METHOD_PUT ,
110110 ],
111111 ];
You can’t perform that action at this time.
0 commit comments