From da90fd562e7911f7a2d2f64dcd826c50146be269 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sun, 31 May 2020 21:22:07 -0400 Subject: [PATCH] fix: more tests --- test/controllers-admin.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/test/controllers-admin.js b/test/controllers-admin.js index 6c0348998e..1a2cffac61 100644 --- a/test/controllers-admin.js +++ b/test/controllers-admin.js @@ -545,15 +545,6 @@ describe('Admin Controllers', function () { }); }); - it('should load /admin/manage/post-queue', function (done) { - request(nconf.get('url') + '/api/admin/manage/post-queue', { jar: jar, json: true }, function (err, res, body) { - assert.ifError(err); - assert.equal(res.statusCode, 200); - assert(body); - done(); - }); - }); - it('/post-queue should 404 for regular user', function (done) { request(nconf.get('url') + '/api/post-queue', { json: true }, function (err, res, body) { assert.ifError(err); @@ -572,15 +563,6 @@ describe('Admin Controllers', function () { }); }); - it('should load /admin/manage/ip-blacklist', function (done) { - request(nconf.get('url') + '/api/admin/manage/ip-blacklist', { jar: jar, json: true }, function (err, res, body) { - assert.ifError(err); - assert.equal(res.statusCode, 200); - assert(body); - done(); - }); - }); - it('/ip-blacklist should 404 for regular user', function (done) { request(nconf.get('url') + '/api/ip-blacklist', { json: true }, function (err, res, body) { assert.ifError(err);