Fixup the unit tests after removing PREFIX_USER

This commit is contained in:
Johannes Zellner
2016-06-03 13:03:52 +02:00
parent 7667cdc66d
commit b4dfad3aa3
7 changed files with 12 additions and 12 deletions

View File

@@ -115,7 +115,7 @@ describe('Profile API', function () {
var token = tokendb.generateToken();
var expires = Date.now() - 2000; // 1 sec
tokendb.add(token, tokendb.PREFIX_USER + user_0.id, null, expires, '*', function (error) {
tokendb.add(token, user_0.id, null, expires, '*', function (error) {
expect(error).to.not.be.ok();
superagent.get(SERVER_URL + '/api/v1/profile').query({ access_token: token }).end(function (error, result) {