mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
Home route (#7039)
* fix: WIP home fix * remove console.log * fix: #6949 on redis run all tests in subfolder /forum fix URI errors fix sping/ping
This commit is contained in:
committed by
GitHub
parent
cd46febdd0
commit
1f918ca8f8
@@ -2144,7 +2144,7 @@ describe('Controllers', function () {
|
||||
assert.equal(res.statusCode, 200);
|
||||
assert(body.title);
|
||||
assert(body.template);
|
||||
assert.equal(body.url, '/compose');
|
||||
assert.equal(body.url, nconf.get('relative_path') + '/compose');
|
||||
done();
|
||||
});
|
||||
});
|
||||
@@ -2165,7 +2165,7 @@ describe('Controllers', function () {
|
||||
assert.equal(res.statusCode, 200);
|
||||
assert(body.title);
|
||||
assert.strictEqual(body.template.name, '');
|
||||
assert.strictEqual(body.url, '/compose');
|
||||
assert.strictEqual(body.url, nconf.get('relative_path') + '/compose');
|
||||
|
||||
plugins.unregisterHook('myTestPlugin', 'filter:composer.build', hookMethod);
|
||||
done();
|
||||
|
||||
Reference in New Issue
Block a user