File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/code/Magento/WebapiAsync/Controller/Rest/Asynchronous
dev/tests/api-functional/testsuite/Magento/Quote/Api Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2626
2727/**
2828 * This class is responsible for retrieving resolved input data
29+ *
30+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2931 */
3032class InputParamsResolver
3133{
@@ -160,7 +162,7 @@ public function getInputData()
160162 $ inputData = $ this ->request ->getRequestData ();
161163
162164 $ httpMethod = $ this ->request ->getHttpMethod ();
163- if ($ httpMethod == RestRequest::HTTP_METHOD_DELETE ) {
165+ if ($ httpMethod === RestRequest::HTTP_METHOD_DELETE ) {
164166 $ requestBodyParams = $ this ->request ->getBodyParams ();
165167 $ inputData = array_merge ($ requestBodyParams , $ inputData );
166168 }
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ public function testPlaceOrder()
354354 public function testAssignCustomerByGuestUser ()
355355 {
356356 $ this ->expectException (\Exception::class);
357- $ this ->expectExceptionMessage ('"%fieldName" is required. Enter and try again. ' );
357+ $ this ->expectExceptionMessage ('\ "%fieldName\ " is required. Enter and try again. ' );
358358
359359 /** @var $quote \Magento\Quote\Model\Quote */
360360 $ quote = $ this ->objectManager ->create (\Magento \Quote \Model \Quote::class)->load ('test01 ' , 'reserved_order_id ' );
You can’t perform that action at this time.
0 commit comments