Skip to content

Node.js based forum software built for the modern web

fix: missing relative path in test

Julian Lam4eacfef02b41
diff --git a/test/controllers.js b/test/controllers.js
index ee5d0507e3..c3dbfc12c8 100644
--- a/test/controllers.js
+++ b/test/controllers.js
@@ -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,