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:
Barış Soner Uşaklı
2018-11-30 21:35:57 -05:00
committed by GitHub
parent cd46febdd0
commit 1f918ca8f8
7 changed files with 36 additions and 40 deletions

View File

@@ -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();