Skip to content

Commit f08e47e

Browse files
Fix
1 parent 3dfb24b commit f08e47e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/lib/util.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ describe("Test buildNotification functionality", () => {
102102

103103
test("When recipients, type, properties are passed to buildNotification", () => {
104104
const expectedNotification = {
105-
NotificationTypeKey: "alert-notification/TestNotificationType",
105+
NotificationTypeKey: "notification/TestNotificationType",
106106
NotificationTypeVersion: "1",
107107
Priority: "NEUTRAL",
108108
Properties: [
@@ -139,7 +139,7 @@ describe("Test buildNotification functionality", () => {
139139

140140
test("When recipients, type, properties, navigation are passed to buildNotification", () => {
141141
const expectedNotification = {
142-
NotificationTypeKey: "alert-notification/TestNotificationType",
142+
NotificationTypeKey: "notification/TestNotificationType",
143143
NotificationTypeVersion: "1",
144144
NavigationTargetAction: "TestTargetAction",
145145
NavigationTargetObject: "TestTargetObject",
@@ -182,7 +182,7 @@ describe("Test buildNotification functionality", () => {
182182

183183
test("When recipients, type, properties, navigation, priority are passed to buildNotification", () => {
184184
const expectedNotification = {
185-
NotificationTypeKey: "alert-notification/TestNotificationType",
185+
NotificationTypeKey: "notification/TestNotificationType",
186186
NotificationTypeVersion: "1",
187187
NavigationTargetAction: "TestTargetAction",
188188
NavigationTargetObject: "TestTargetObject",
@@ -229,7 +229,7 @@ describe("Test buildNotification functionality", () => {
229229
Id: "01234567-89ab-cdef-0123-456789abcdef",
230230
OriginId: "01234567-89ab-cdef-0123-456789abcdef",
231231
NotificationTypeId: "01234567-89ab-cdef-0123-456789abcdef",
232-
NotificationTypeKey: "alert-notification/TestNotificationType",
232+
NotificationTypeKey: "notification/TestNotificationType",
233233
NotificationTypeVersion: "1",
234234
NavigationTargetAction: "TestTargetAction",
235235
NavigationTargetObject: "TestTargetObject",
@@ -301,7 +301,7 @@ describe("Test buildNotification functionality", () => {
301301
test("When recipients, type, properties, navigation, priority, but with not all the payload are passed to buildNotification", () => {
302302
const expectedNotification = {
303303
NotificationTypeId: "01234567-89ab-cdef-0123-456789abcdef",
304-
NotificationTypeKey: "alert-notification/TestNotificationType",
304+
NotificationTypeKey: "notification/TestNotificationType",
305305
NotificationTypeVersion: "1",
306306
NavigationTargetAction: "TestTargetAction",
307307
NavigationTargetObject: "TestTargetObject",
@@ -370,7 +370,7 @@ describe("Test buildNotification functionality", () => {
370370

371371
test("When whole notification object is passed to buildNotification", () => {
372372
const expectedNotification = {
373-
NotificationTypeKey: "alert-notification/TestNotificationType",
373+
NotificationTypeKey: "notification/TestNotificationType",
374374
NotificationTypeVersion: "1",
375375
Priority: "NEUTRAL",
376376
Properties: [

0 commit comments

Comments
 (0)