Skip to content

Node.js based forum software built for the modern web

fix: auth tests

Barış Soner Uşaklıfe2dc3101ee1
diff --git a/test/authentication.js b/test/authentication.js
index 818fc9dfe2..8cc9bf2af1 100644
--- a/test/authentication.js
+++ b/test/authentication.js
@@ -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) {