aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/misc-endpoints.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/misc-endpoints.ts')
-rw-r--r--server/tests/misc-endpoints.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/tests/misc-endpoints.ts b/server/tests/misc-endpoints.ts
index b53803ee1..4de47d693 100644
--- a/server/tests/misc-endpoints.ts
+++ b/server/tests/misc-endpoints.ts
@@ -72,6 +72,16 @@ describe('Test misc endpoints', function () {
72 72
73 expect(res.body.tracking).to.equal('N') 73 expect(res.body.tracking).to.equal('N')
74 }) 74 })
75
76 it('Should get change-password location', async function () {
77 const res = await makeGetRequest({
78 url: server.url,
79 path: '/.well-known/change-password',
80 statusCodeExpected: 302
81 })
82
83 expect(res.header.location).to.equal('/my-account/settings')
84 })
75 }) 85 })
76 86
77 describe('Test classic static endpoints', function () { 87 describe('Test classic static endpoints', function () {