Add registrationId tests.

This commit is contained in:
Moxie Marlinspike committed 2014-02-20 09:44:31 -08:00
1 parent f4ecb5d7be
commit 6aaca59020
4 files changed
+41

No files matched your search

@@ -2,12 +2,14 @@
"messages" : [{
"type" : 1,
"destinationDeviceId" : 1,
"destinationRegistrationId" : 222,
"body" : "Zm9vYmFyego",
"timestamp" : 1234
},
{
"type" : 1,
"destinationDeviceId" : 2,
"destinationRegistrationId" : 333,
"body" : "Zm9vYmFyego",
"timestamp" : 1234
}]
@@ -0,0 +1,16 @@
{
"messages" : [{
"type" : 1,
"destinationDeviceId" : 1,
"destinationRegistrationId" : 222,
"body" : "Zm9vYmFyego",
"timestamp" : 1234
},
{
"type" : 1,
"destinationDeviceId" : 2,
"destinationRegistrationId" : 999,
"body" : "Zm9vYmFyego",
"timestamp" : 1234
}]
}
@@ -0,0 +1,3 @@
{
"staleDevices" : [2]
}