From 5537ef3950e85977720503d10076849c1d0a1346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Schr=C3=B6der?= Date: Tue, 14 Apr 2020 23:44:43 +0200 Subject: [PATCH] test: fix settings loading in api/instance backend test With commit 44186ed (tests: remove loadSettings.js for backend tests.) the loading of the settings in backendtests changed. One test spec was not updated. --- tests/backend/specs/api/instance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/backend/specs/api/instance.js b/tests/backend/specs/api/instance.js index e9b139703..4849c6507 100644 --- a/tests/backend/specs/api/instance.js +++ b/tests/backend/specs/api/instance.js @@ -6,7 +6,7 @@ const assert = require('assert'); const supertest = require(__dirname+'/../../../../src/node_modules/supertest'); const fs = require('fs'); -const settings = require(__dirname+'/../../loadSettings').loadSettings(); +const settings = require(__dirname+'/../../../../src/node/utils/Settings'); const api = supertest('http://'+settings.ip+":"+settings.port); const path = require('path');