reverts to use binary APNs

This commit is contained in:
Florent Vilmart
2016-03-14 08:15:38 -04:00
parent 7c387e1ee9
commit 120f23c791
4 changed files with 383 additions and 176 deletions

View File

@@ -29,9 +29,7 @@ describe('ParsePushAdapter', () => {
var parsePushAdapter = new ParsePushAdapter(pushConfig);
// Check ios
var iosSender = parsePushAdapter.senderMap['ios'];
expect(iosSender).not.toBe(undefined);
expect(typeof iosSender.send).toEqual('function');
expect(typeof iosSender.getConfiguration).toEqual('function');
expect(iosSender instanceof APNS).toBe(true);
// Check android
var androidSender = parsePushAdapter.senderMap['android'];
expect(androidSender instanceof GCM).toBe(true);