From 095b0aca51ec208361492db01967577d75857522 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Tue, 26 May 2026 10:00:08 +0300 Subject: [PATCH] updated migratecmd template tests --- plugins/migratecmd/migratecmd_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/migratecmd/migratecmd_test.go b/plugins/migratecmd/migratecmd_test.go index f2705aad..e9653b24 100644 --- a/plugins/migratecmd/migratecmd_test.go +++ b/plugins/migratecmd/migratecmd_test.go @@ -36,7 +36,7 @@ migrate((app) => { }, "authRule": "", "authToken": { - "duration": 604800 + "duration": 432000 }, "confirmEmailChangeTemplate": { "body": "

Hello,

\n

Click on the button below to confirm your new email address.

\n

\n Confirm new email\n

\n

If you didn't ask to change your email address, please ignore this email.

\n

\n Thanks,
\n {APP_NAME} team\n

", @@ -181,7 +181,7 @@ migrate((app) => { "subject": "Verify your {APP_NAME} email" }, "verificationToken": { - "duration": 259200 + "duration": 86400 }, "viewRule": "id = \"1\"" }); @@ -218,7 +218,7 @@ func init() { }, "authRule": "", "authToken": { - "duration": 604800 + "duration": 432000 }, "confirmEmailChangeTemplate": { "body": "

Hello,

\n

Click on the button below to confirm your new email address.

\n

\n Confirm new email\n

\n

If you didn't ask to change your email address, please ignore this email.

\n

\n Thanks,
\n {APP_NAME} team\n

", @@ -363,7 +363,7 @@ func init() { "subject": "Verify your {APP_NAME} email" }, "verificationToken": { - "duration": 259200 + "duration": 86400 }, "viewRule": "id = \"1\"" }` + "`" + ` @@ -489,7 +489,7 @@ migrate((app) => { }, "authRule": "", "authToken": { - "duration": 604800 + "duration": 432000 }, "confirmEmailChangeTemplate": { "body": "

Hello,

\n

Click on the button below to confirm your new email address.

\n

\n Confirm new email\n

\n

If you didn't ask to change your email address, please ignore this email.

\n

\n Thanks,
\n {APP_NAME} team\n

", @@ -634,7 +634,7 @@ migrate((app) => { "subject": "Verify your {APP_NAME} email" }, "verificationToken": { - "duration": 259200 + "duration": 86400 }, "viewRule": "id = \"1\"" }); @@ -674,7 +674,7 @@ func init() { }, "authRule": "", "authToken": { - "duration": 604800 + "duration": 432000 }, "confirmEmailChangeTemplate": { "body": "

Hello,

\n

Click on the button below to confirm your new email address.

\n

\n Confirm new email\n

\n

If you didn't ask to change your email address, please ignore this email.

\n

\n Thanks,
\n {APP_NAME} team\n

", @@ -819,7 +819,7 @@ func init() { "subject": "Verify your {APP_NAME} email" }, "verificationToken": { - "duration": 259200 + "duration": 86400 }, "viewRule": "id = \"1\"" }` + "`" + `