mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
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.
This commit is contained in:
parent
f0fdb94eb0
commit
5537ef3950
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const supertest = require(__dirname+'/../../../../src/node_modules/supertest');
|
const supertest = require(__dirname+'/../../../../src/node_modules/supertest');
|
||||||
const fs = require('fs');
|
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 api = supertest('http://'+settings.ip+":"+settings.port);
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue