Commit 30533a51 authored by GiorgosK's avatar GiorgosK

Ticket mock server should return IssueNewTicketResult as object

parent 868352ad
......@@ -10,13 +10,13 @@ class TicketSoapServer {
*/
public function IssueNewTicket($xml) {
$result = [];
$IssueNewTicketResult = [
$IssueNewTicketResult = (object) [
"ResultCode" => "0",
"TranTicket" => "123",
"Timestamp" => time(),
"MinutesToExpiration" => 15,
];
return ["IssueNewTicketResult" => $IssueNewTicketResult];
return (object) ["IssueNewTicketResult" => $IssueNewTicketResult];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment