We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80896ce commit fbe8909Copy full SHA for fbe8909
dev/tests/api-functional/testsuite/Magento/Sales/Service/V1/ShipOrderTest.php
@@ -194,8 +194,11 @@ public function testShipOrderWithTypeError()
194
'items' => "[]",
195
];
196
197
- $this->expectExceptionCode(400);
198
- $this->_webApiCall($this->getServiceInfo($existingOrder), $requestData);
+ try {
+ $this->_webApiCall($this->getServiceInfo($existingOrder), $requestData);
199
+ $this->fail('Expected exception was not raised');
200
+ } catch (\Exception $exception) {
201
+ }
202
}
203
204
/**
0 commit comments