From c36d2752c45b3e4a7f48676f621715f0f5b9832e Mon Sep 17 00:00:00 2001 From: ali ebrahimi Date: Wed, 24 Jul 2024 03:37:22 +0330 Subject: [PATCH] Fix tests for notify reward --- src/routes/v1/notificationRouter.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/v1/notificationRouter.test.ts b/src/routes/v1/notificationRouter.test.ts index 713d0ba..6f6fa7a 100644 --- a/src/routes/v1/notificationRouter.test.ts +++ b/src/routes/v1/notificationRouter.test.ts @@ -2100,7 +2100,6 @@ function sendNotificationTestCases() { sendEmail: true, sendSegment: true, creationTime: 1667992708000, - email: 'aliebrahimi2079@gmail.com', segment: { payload: { round: 10, @@ -2112,6 +2111,7 @@ function sendNotificationTestCases() { network: 'ethereum', script: 'test script', transactionHash: 'test txhash', + email: 'aliebrahimi2079@gmail.com', }, }, }; @@ -2133,7 +2133,6 @@ function sendNotificationTestCases() { sendEmail: true, sendSegment: true, creationTime: 1667992708000, - email: 'aliebrahimi2079@gmail.com', segment: { payload: { round: 10, @@ -2145,6 +2144,7 @@ function sendNotificationTestCases() { network: 'ethereum', script: 'test script', transactionHash: 'test txhash', + email: 'aliebrahimi2079@gmail.com', invalidField: 'invalid data', }, },