@@ -102,7 +102,7 @@ describe("Test buildNotification functionality", () => {
102
102
103
103
test ( "When recipients, type, properties are passed to buildNotification" , ( ) => {
104
104
const expectedNotification = {
105
- NotificationTypeKey : "notification /TestNotificationType" ,
105
+ NotificationTypeKey : "notifications /TestNotificationType" ,
106
106
NotificationTypeVersion : "1" ,
107
107
Priority : "NEUTRAL" ,
108
108
Properties : [
@@ -139,7 +139,7 @@ describe("Test buildNotification functionality", () => {
139
139
140
140
test ( "When recipients, type, properties, navigation are passed to buildNotification" , ( ) => {
141
141
const expectedNotification = {
142
- NotificationTypeKey : "notification /TestNotificationType" ,
142
+ NotificationTypeKey : "notifications /TestNotificationType" ,
143
143
NotificationTypeVersion : "1" ,
144
144
NavigationTargetAction : "TestTargetAction" ,
145
145
NavigationTargetObject : "TestTargetObject" ,
@@ -182,7 +182,7 @@ describe("Test buildNotification functionality", () => {
182
182
183
183
test ( "When recipients, type, properties, navigation, priority are passed to buildNotification" , ( ) => {
184
184
const expectedNotification = {
185
- NotificationTypeKey : "notification /TestNotificationType" ,
185
+ NotificationTypeKey : "notifications /TestNotificationType" ,
186
186
NotificationTypeVersion : "1" ,
187
187
NavigationTargetAction : "TestTargetAction" ,
188
188
NavigationTargetObject : "TestTargetObject" ,
@@ -229,7 +229,7 @@ describe("Test buildNotification functionality", () => {
229
229
Id : "01234567-89ab-cdef-0123-456789abcdef" ,
230
230
OriginId : "01234567-89ab-cdef-0123-456789abcdef" ,
231
231
NotificationTypeId : "01234567-89ab-cdef-0123-456789abcdef" ,
232
- NotificationTypeKey : "notification /TestNotificationType" ,
232
+ NotificationTypeKey : "notifications /TestNotificationType" ,
233
233
NotificationTypeVersion : "1" ,
234
234
NavigationTargetAction : "TestTargetAction" ,
235
235
NavigationTargetObject : "TestTargetObject" ,
@@ -301,7 +301,7 @@ describe("Test buildNotification functionality", () => {
301
301
test ( "When recipients, type, properties, navigation, priority, but with not all the payload are passed to buildNotification" , ( ) => {
302
302
const expectedNotification = {
303
303
NotificationTypeId : "01234567-89ab-cdef-0123-456789abcdef" ,
304
- NotificationTypeKey : "notification /TestNotificationType" ,
304
+ NotificationTypeKey : "notifications /TestNotificationType" ,
305
305
NotificationTypeVersion : "1" ,
306
306
NavigationTargetAction : "TestTargetAction" ,
307
307
NavigationTargetObject : "TestTargetObject" ,
@@ -370,7 +370,7 @@ describe("Test buildNotification functionality", () => {
370
370
371
371
test ( "When whole notification object is passed to buildNotification" , ( ) => {
372
372
const expectedNotification = {
373
- NotificationTypeKey : "notification /TestNotificationType" ,
373
+ NotificationTypeKey : "notifications /TestNotificationType" ,
374
374
NotificationTypeVersion : "1" ,
375
375
Priority : "NEUTRAL" ,
376
376
Properties : [
0 commit comments