We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7091188 commit cd3a8b8Copy full SHA for cd3a8b8
dev/tests/api-functional/testsuite/Magento/Webapi/DeserializationTest.php
@@ -42,6 +42,7 @@ public function testPostRequestWithEmptyBody()
42
try {
43
$this->_webApiCall($serviceInfo, CurlClient::EMPTY_REQUEST_BODY);
44
} catch (\Exception $e) {
45
+ $this->assertEquals(\Magento\Webapi\Exception::HTTP_BAD_REQUEST, $e->getCode());
46
$this->assertContains(
47
$expectedMessage,
48
$e->getMessage(),
@@ -67,6 +68,7 @@ public function testPutRequestWithEmptyBody()
67
68
69
70
71
72
73
74
0 commit comments