From 314141279db4826bf4862576b7e0df104834ad00 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Fri, 7 Dec 2018 01:42:00 +0100 Subject: (well-known url) add change-password --- server/tests/misc-endpoints.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'server/tests/misc-endpoints.ts') 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 () { expect(res.body.tracking).to.equal('N') }) + + it('Should get change-password location', async function () { + const res = await makeGetRequest({ + url: server.url, + path: '/.well-known/change-password', + statusCodeExpected: 302 + }) + + expect(res.header.location).to.equal('/my-account/settings') + }) }) describe('Test classic static endpoints', function () { -- cgit v1.2.3