1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-06 23:46:18 +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 () { public function generateSmsTestData () {
return $this->push(2, array( return $this->push(2, array(
array("_id" => 702, "type" => 1, "mbox" => 0, "read" => "true", array("_id" => 702, "type" => 1, "mbox" => 2, "read" => "true",
"seen" => "true", "date" => 1654777777, "address" => "+33123456789", "seen" => "true", "date" => 1654777747, "address" => "+33123456789",
"body" => "hello dude"), "body" => "hello dude"),
array("_id" => 685, "type" => 1, "mbox" => 1, "read" => "true", array("_id" => 685, "type" => 1, "mbox" => 1, "read" => "true",
"seen" => "true", "date" => 1654777777, "address" => "+33123456789", "seen" => "true", "date" => 1654777777, "address" => "+33123456789",