@@ -83,7 +83,7 @@ describe('Paddle webhooks', () => {
8383 . forPatch ( '/api/v2/users/' + userId )
8484 . thenJson ( 200 , { } ) ;
8585
86- const nextRenewal = moment ( '2025 -01-01' ) ;
86+ const nextRenewal = moment ( '2030 -01-01' ) ;
8787
8888 await triggerWebhook ( apiServer , {
8989 alert_name : 'subscription_created' ,
@@ -128,7 +128,7 @@ describe('Paddle webhooks', () => {
128128 . forPatch ( '/api/v2/users/' + userId )
129129 . thenJson ( 200 , { } ) ;
130130
131- const nextRenewal = moment ( '2025 -01-01' ) ;
131+ const nextRenewal = moment ( '2030 -01-01' ) ;
132132
133133 await triggerWebhook ( apiServer , {
134134 alert_name : 'subscription_created' ,
@@ -196,7 +196,7 @@ describe('Paddle webhooks', () => {
196196 . forPatch ( '/api/v2/users/' + memberId )
197197 . thenJson ( 200 , { } ) ;
198198
199- const nextRenewal = moment ( '2025 -01-01' ) ;
199+ const nextRenewal = moment ( '2030 -01-01' ) ;
200200
201201 await triggerWebhook ( apiServer , {
202202 alert_name : 'subscription_created' ,
@@ -265,7 +265,7 @@ describe('Paddle webhooks', () => {
265265 . forPatch ( '/api/v2/users/' + memberId )
266266 . thenJson ( 200 , { } ) ;
267267
268- const nextRenewal = moment ( '2025 -01-01' ) ;
268+ const nextRenewal = moment ( '2030 -01-01' ) ;
269269
270270 await triggerWebhook ( apiServer , {
271271 alert_name : 'subscription_created' ,
@@ -290,7 +290,7 @@ describe('Paddle webhooks', () => {
290290 it ( 'should successfully renew subscriptions' , async ( ) => {
291291 const userId = "abc" ;
292292 const userEmail = '[email protected] ' ; 293- const nextRenewal = moment ( '2025 -01-01' ) ;
293+ const nextRenewal = moment ( '2030 -01-01' ) ;
294294
295295 givenUser ( userId , userEmail , {
296296 subscription_status : 'active' ,
@@ -336,7 +336,7 @@ describe('Paddle webhooks', () => {
336336 it ( 'successfully cancel subscriptions on request' , async ( ) => {
337337 const userId = "abc" ;
338338 const userEmail = '[email protected] ' ; 339- const cancellationDate = moment ( '2025 -01-01' ) ;
339+ const cancellationDate = moment ( '2030 -01-01' ) ;
340340
341341 givenUser ( userId , userEmail , {
342342 subscription_status : 'active' ,
@@ -502,7 +502,7 @@ describe('Paddle webhooks', () => {
502502 . forPatch ( '/api/v2/users/' + userId )
503503 . thenJson ( 200 , { } ) ;
504504
505- const nextRenewal = moment ( '2025 -01-01' ) ;
505+ const nextRenewal = moment ( '2030 -01-01' ) ;
506506
507507 await triggerWebhook ( apiServer , {
508508 alert_name : 'subscription_created' ,
@@ -549,7 +549,7 @@ describe('Paddle webhooks', () => {
549549 . forPatch ( '/api/v2/users/' + userId )
550550 . thenJson ( 200 , { } ) ;
551551
552- const nextRenewal = moment ( '2025 -01-01' ) ;
552+ const nextRenewal = moment ( '2030 -01-01' ) ;
553553
554554 await triggerWebhook ( apiServer , {
555555 alert_name : 'subscription_created' ,
@@ -600,7 +600,7 @@ describe('Paddle webhooks', () => {
600600 . forPatch ( '/api/v2/users/' + userId )
601601 . thenJson ( 200 , { } ) ;
602602
603- const nextRenewal = moment ( '2025 -01-01' ) ;
603+ const nextRenewal = moment ( '2030 -01-01' ) ;
604604
605605 await triggerWebhook ( apiServer , {
606606 alert_name : 'subscription_payment_succeeded' ,
@@ -646,7 +646,7 @@ describe('Paddle webhooks', () => {
646646 . forPatch ( '/api/v2/users/' + userId )
647647 . thenJson ( 200 , { } ) ;
648648
649- const nextRenewal = moment ( '2025 -01-01' ) ;
649+ const nextRenewal = moment ( '2030 -01-01' ) ;
650650
651651 await triggerWebhook ( apiServer , {
652652 alert_name : 'subscription_payment_succeeded' ,
0 commit comments