tidy up acceptance tests

This commit is contained in:
Phil Davis
2023-04-21 14:59:50 +05:45
parent 8025b4220e
commit 7fb93058cf
26 changed files with 44 additions and 44 deletions
@@ -935,7 +935,7 @@ class OCSContext implements Context {
if (\is_object($jsonResponse) && $jsonResponse->ocs->meta->statuscode) {
return (string) $jsonResponse->ocs->meta->statuscode;
}
// go to xml response when json response is null (it means not formated and get status code)
// go to xml response when json response is null (it means not formatted and get status code)
$responseXml = $this->featureContext->getResponseXml($response, __METHOD__);
if (isset($responseXml->meta[0], $responseXml->meta[0]->statuscode)) {
return (string) $responseXml->meta[0]->statuscode;