From 2df5c083897d328804610e0aa525e631f47c9d62 Mon Sep 17 00:00:00 2001 From: James Allen Date: Tue, 29 Nov 2016 15:05:02 +0000 Subject: [PATCH] Update acceptance tests to use redis-sharelatex --- services/document-updater/package.json | 2 +- .../test/acceptance/coffee/ApplyingUpdatesToADocTests.coffee | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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"