From c30ff4281706616ffd991f851d0128ea0ff4c25f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 22 Oct 2018 22:23:50 -0400 Subject: [PATCH] test for hooks page --- test/controllers-admin.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/controllers-admin.js b/test/controllers-admin.js index eba66ff653..7ded8d80c2 100644 --- a/test/controllers-admin.js +++ b/test/controllers-admin.js @@ -343,6 +343,14 @@ describe('Admin Controllers', function () { }); }); + it('should load /admin/advanced/hooks', function (done) { + request(nconf.get('url') + '/api/admin/advanced/hooks', { jar: jar, json: true }, function (err, res, body) { + assert.ifError(err); + assert(body); + done(); + }); + }); + it('should load /admin/advanced/cache', function (done) { request(nconf.get('url') + '/api/admin/advanced/cache', { jar: jar, json: true }, function (err, res, body) { assert.ifError(err);