From e71ae80cbc9f6e1c776cb23ee9fd564a79e52881 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Fri, 8 Mar 2019 14:26:11 -0500 Subject: [PATCH] fix: tests --- test/controllers-admin.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/controllers-admin.js b/test/controllers-admin.js index 9672f6ad4a..476bd65ad4 100644 --- a/test/controllers-admin.js +++ b/test/controllers-admin.js @@ -521,7 +521,7 @@ describe('Admin Controllers', function () { it('should load /admin/general/social', function (done) { var socketAdmin = require('../src/socket.io/admin'); - socketAdmin.social.savePostSharingNetworks({ uid: adminUid }, ['facebook', 'twitter', 'google'], function (err) { + socketAdmin.social.savePostSharingNetworks({ uid: adminUid }, ['facebook', 'twitter'], function (err) { assert.ifError(err); request(nconf.get('url') + '/api/admin/general/social', { jar: jar, json: true }, function (err, res, body) { assert.ifError(err); @@ -531,7 +531,6 @@ describe('Admin Controllers', function () { }); assert(body.includes('facebook')); assert(body.includes('twitter')); - assert(body.includes('google')); done(); }); });