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 26
26
27
27
/**
28
28
* This class is responsible for retrieving resolved input data
29
+ *
30
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
29
31
*/
30
32
class InputParamsResolver
31
33
{
@@ -160,7 +162,7 @@ public function getInputData()
160
162
$ inputData = $ this ->request ->getRequestData ();
161
163
162
164
$ httpMethod = $ this ->request ->getHttpMethod ();
163
- if ($ httpMethod == RestRequest::HTTP_METHOD_DELETE ) {
165
+ if ($ httpMethod === RestRequest::HTTP_METHOD_DELETE ) {
164
166
$ requestBodyParams = $ this ->request ->getBodyParams ();
165
167
$ inputData = array_merge ($ requestBodyParams , $ inputData );
166
168
}
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ public function testPlaceOrder()
354
354
public function testAssignCustomerByGuestUser ()
355
355
{
356
356
$ this ->expectException (\Exception::class);
357
- $ this ->expectExceptionMessage ('"%fieldName" is required. Enter and try again. ' );
357
+ $ this ->expectExceptionMessage ('\ "%fieldName\ " is required. Enter and try again. ' );
358
358
359
359
/** @var $quote \Magento\Quote\Model\Quote */
360
360
$ 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