mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°6281 - ✅ Rest API core/create key value is no more between quote
This commit is contained in:
@@ -106,7 +106,7 @@ JSON;
|
||||
$iId = $aJson['objects'][$sUserRequestKey]['key'];
|
||||
|
||||
$sExpectedJsonOuput = <<<JSON
|
||||
{"objects":{"UserRequest::$iId":{"code":0,"message":"created","class":"UserRequest","key":$iId,"fields":{"id":$iId}}},"code":0,"message":null}
|
||||
{"objects":{"UserRequest::$iId":{"code":0,"message":"created","class":"UserRequest","key":"$iId","fields":{"id":"$iId"}}},"code":0,"message":null}
|
||||
JSON;
|
||||
$this->assertJsonStringEqualsJsonString($sExpectedJsonOuput, $sOutputJson);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user