fix: missing relative path in test

isekai-main
Julian Lam 4 years ago
parent 58e0a366c8
commit 4eacfef02b

@ -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,

Loading…
Cancel
Save