mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
test: fix tpl test
This commit is contained in:
@@ -303,7 +303,7 @@ describe('Plugins', () => {
|
||||
});
|
||||
|
||||
it('should get resource', (done) => {
|
||||
const url = `${nconf.get('url')}/plugins/nodebb-plugin-dbsearch/dbsearch/templates/admin/plugins/dbsearch.tpl`;
|
||||
const url = `${nconf.get('url')}/assets/templates/admin/plugins/dbsearch.tpl`;
|
||||
request.get(url, (err, res, body) => {
|
||||
assert.ifError(err);
|
||||
assert.equal(res.statusCode, 200);
|
||||
|
||||
Reference in New Issue
Block a user