fix: missing relative path in test

This commit is contained in:
Julian Lam
2021-09-24 17:07:21 -04:00
parent 58e0a366c8
commit 4eacfef02b

View File

@@ -372,7 +372,7 @@ describe('Controllers', () => {
},
});
assert.strictEqual(res.headers.location, '/register/complete');
assert.strictEqual(res.headers.location, `${nconf.get('relative_path')}/register/complete`);
res = await requestAsync(`${nconf.get('url')}/api/register/complete`, {
jar,