💚 Fix RestTest

When no objects to return, since #231 we are now getting `[]` instead of `null`
This commit is contained in:
Pierre Goiffon
2022-01-17 08:24:10 +01:00
parent c9d547030f
commit 7243da3576

View File

@@ -180,7 +180,7 @@ JSON;
$this->assertContains($sExpectedJsonOuput, $this->DeleteTicketFromApi($iId));
$sExpectedJsonOuput=<<<JSON
{"objects":null,"code":0,"message":"Found: 0"}
{"objects":[],"code":0,"message":"Found: 0"}
JSON;
$this->assertEquals($sExpectedJsonOuput, $this->GetTicketViaRest($iId));
}