diff --git a/services/document-updater/package.json b/services/document-updater/package.json index 85958950d8..21b48df0e0 100644 --- a/services/document-updater/package.json +++ b/services/document-updater/package.json @@ -35,6 +35,6 @@ "grunt-execute": "~0.1.5", "grunt-forever": "0.4.1", "grunt-mocha-test": "~0.9.0", - "grunt-shell": "^1.3.0" + "grunt-shell": "^2.1.0" } } diff --git a/services/document-updater/test/acceptance/coffee/ApplyingUpdatesToADocTests.coffee b/services/document-updater/test/acceptance/coffee/ApplyingUpdatesToADocTests.coffee index 89f1acbcfe..053ef2a464 100644 --- a/services/document-updater/test/acceptance/coffee/ApplyingUpdatesToADocTests.coffee +++ b/services/document-updater/test/acceptance/coffee/ApplyingUpdatesToADocTests.coffee @@ -3,7 +3,8 @@ chai = require("chai") chai.should() expect = chai.expect async = require "async" -rclient = require("redis").createClient() +Settings = require('settings-sharelatex') +rclient = require("redis-sharelatex").createClient(Settings.redis.web) {db, ObjectId} = require "../../../app/js/mongojs" MockTrackChangesApi = require "./helpers/MockTrackChangesApi"