Fix oauth2 tests

This commit is contained in:
Johannes Zellner
2016-01-18 14:31:25 +01:00
parent d0d6725df5
commit e635aaaa58

View File

@@ -291,7 +291,7 @@ describe('OAuth2', function () {
appdb.add.bind(null, APP_1.id, APP_1.appStoreId, APP_1.manifest, APP_1.location, APP_1.portBindings, APP_1.accessRestriction, APP_1.oauthProxy),
appdb.add.bind(null, APP_2.id, APP_2.appStoreId, APP_2.manifest, APP_2.location, APP_2.portBindings, APP_2.accessRestriction, APP_2.oauthProxy),
function (callback) {
user.create(USER_0.username, USER_0.password, USER_0.email, true, '', function (error, userObject) {
user.create(USER_0.username, USER_0.password, USER_0.email, true, '', false, function (error, userObject) {
expect(error).to.not.be.ok();
// update the global objects to reflect the new user id