fix user create response

This commit is contained in:
Girish Ramakrishnan
2016-04-06 10:20:32 -07:00
parent 4c964bcaf8
commit 275d8c2121
4 changed files with 6 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ function setup(done) {
expect(result.statusCode).to.eql(201);
token_1 = tokendb.generateToken();
userId_1 = result.body.userInfo.id;
userId_1 = result.body.id;
// HACK to get a token for second user (passwords are generated and the user should have gotten a password setup link...)
tokendb.add(token_1, userId_1, 'test-client-id', Date.now() + 100000, '*', callback);