From 4497d37af9cc30f9da362b978cf9ad90de34ced9 Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 1 Jun 2020 18:45:01 +0000 Subject: [PATCH] tests: path to request require fix --- tests/backend/specs/api/importexportGetPost.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/backend/specs/api/importexportGetPost.js b/tests/backend/specs/api/importexportGetPost.js index b5af2d45d..7bbe88139 100644 --- a/tests/backend/specs/api/importexportGetPost.js +++ b/tests/backend/specs/api/importexportGetPost.js @@ -11,7 +11,7 @@ const host = 'http://127.0.0.1:'+settings.port; const api = supertest('http://'+settings.ip+":"+settings.port); const path = require('path'); const async = require(__dirname+'/../../../../src/node_modules/async'); -const request = require('request'); +const request = require(__dirname+'/../../../../src/node_modules/request'); const padText = fs.readFileSync("../tests/backend/specs/api/test.txt"); const wordDoc = fs.readFileSync("../tests/backend/specs/api/test.doc"); var filePath = path.join(__dirname, '../../../../APIKEY.txt');