1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-05 23:16:21 +00:00

Fix the test case

This commit is contained in:
Loïc Blot 2018-12-10 16:27:49 +01:00
parent fdcb6b4f14
commit 7abea7cc9b

View File

@ -242,8 +242,8 @@ class ApiController extends Controller {
*/
public function generateSmsTestData () {
return $this->push(2, array(
array("_id" => 702, "type" => 1, "mbox" => 0, "read" => "true",
"seen" => "true", "date" => 1654777777, "address" => "+33123456789",
array("_id" => 702, "type" => 1, "mbox" => 2, "read" => "true",
"seen" => "true", "date" => 1654777747, "address" => "+33123456789",
"body" => "hello dude"),
array("_id" => 685, "type" => 1, "mbox" => 1, "read" => "true",
"seen" => "true", "date" => 1654777777, "address" => "+33123456789",