From d1ad2d9e2ed3b8f55d5350540e15c57aa314f628 Mon Sep 17 00:00:00 2001 From: Sukhans Asrani Date: Wed, 16 Jan 2019 01:08:01 +1300 Subject: [PATCH] Add tests for createOrUpdateInstallation --- types/azure-sb/azure-sb-tests.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/types/azure-sb/azure-sb-tests.ts b/types/azure-sb/azure-sb-tests.ts index 14d2ba9054..e1703c8086 100644 --- a/types/azure-sb/azure-sb-tests.ts +++ b/types/azure-sb/azure-sb-tests.ts @@ -80,3 +80,14 @@ nh.wns.send('tag', '', 'wns/toast', { headers: {} }, Response nh.wns.sendToastText01('tag', '', ResponseCallback); nh.wns.sendToastText01(['tag'], '', ResponseCallback); nh.wns.sendToastText01('tag', '', { headers: {} }, ResponseCallback); +nh.createOrUpdateInstallation({ + "installationId":"123-123-123-123", + "platform":"gcm", + "pushChannel":"aXhytc4zD=", +}, () => {}); +nh.createOrUpdateInstallation({ + installationId:"123-123-123-123", + platform:"gcm", + pushChannel:"aXhytc4zD=", + tags:["tag1","tag2"] +}, {}, () => {}); \ No newline at end of file