mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: missing relative path in test
This commit is contained in:
@@ -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`, {
|
res = await requestAsync(`${nconf.get('url')}/api/register/complete`, {
|
||||||
jar,
|
jar,
|
||||||
|
|||||||
Reference in New Issue
Block a user