fix: auth tests

v1.18.x
Barış Soner Uşaklı 4 years ago
parent af43f0e48e
commit fe2dc3101e

@ -165,7 +165,7 @@ describe('authentication', function () {
assert(body); assert(body);
request({ request({
url: nconf.get('url') + '/api/me', url: nconf.get('url') + '/api/self',
json: true, json: true,
jar: jar, jar: jar,
}, function (err, response, body) { }, function (err, response, body) {
@ -204,7 +204,7 @@ describe('authentication', function () {
assert.ifError(err); assert.ifError(err);
assert(body); assert(body);
request({ request({
url: nconf.get('url') + '/api/me', url: nconf.get('url') + '/api/self',
json: true, json: true,
jar: jar, jar: jar,
}, function (err, response, body) { }, function (err, response, body) {

Loading…
Cancel
Save