mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Add tests for createOrUpdateInstallation
This commit is contained in:
parent
ec566f3020
commit
d1ad2d9e2e
@ -80,3 +80,14 @@ nh.wns.send('tag', '<payload></payload>', 'wns/toast', { headers: {} }, Response
|
||||
nh.wns.sendToastText01('tag', '<payload></payload>', ResponseCallback);
|
||||
nh.wns.sendToastText01(['tag'], '<payload></payload>', ResponseCallback);
|
||||
nh.wns.sendToastText01('tag', '<payload></payload>', { 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"]
|
||||
}, {}, () => {});
|
||||
Loading…
Reference in New Issue
Block a user