mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
fix: auth tests
This commit is contained in:
@@ -165,7 +165,7 @@ describe('authentication', function () {
|
||||
assert(body);
|
||||
|
||||
request({
|
||||
url: nconf.get('url') + '/api/me',
|
||||
url: nconf.get('url') + '/api/self',
|
||||
json: true,
|
||||
jar: jar,
|
||||
}, function (err, response, body) {
|
||||
@@ -204,7 +204,7 @@ describe('authentication', function () {
|
||||
assert.ifError(err);
|
||||
assert(body);
|
||||
request({
|
||||
url: nconf.get('url') + '/api/me',
|
||||
url: nconf.get('url') + '/api/self',
|
||||
json: true,
|
||||
jar: jar,
|
||||
}, function (err, response, body) {
|
||||
|
||||
Reference in New Issue
Block a user