aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/server/email.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/tests/api/server/email.ts b/server/tests/api/server/email.ts
index b01a91d48..05c89d2a3 100644
--- a/server/tests/api/server/email.ts
+++ b/server/tests/api/server/email.ts
@@ -123,6 +123,10 @@ describe('Test emails', function () {
123 await resetPassword(server.url, userId, verificationString, 'super_password2') 123 await resetPassword(server.url, userId, verificationString, 'super_password2')
124 }) 124 })
125 125
126 it('Should not reset the password with the same verification string', async function () {
127 await resetPassword(server.url, userId, verificationString, 'super_password3', 403)
128 })
129
126 it('Should login with this new password', async function () { 130 it('Should login with this new password', async function () {
127 user.password = 'super_password2' 131 user.password = 'super_password2'
128 132