Fixup the unit tests

This commit is contained in:
Johannes Zellner
2018-02-07 21:19:05 +01:00
parent 265db7d0f7
commit e710a210fd
3 changed files with 4 additions and 47 deletions

View File

@@ -167,8 +167,7 @@ describe('OAuth2', function () {
domain: DOMAIN_0.domain,
portBindings: {},
accessRestriction: null,
memoryLimit: 0,
altDomain: null
memoryLimit: 0
};
var APP_1 = {
@@ -179,8 +178,7 @@ describe('OAuth2', function () {
domain: DOMAIN_0.domain,
portBindings: {},
accessRestriction: { users: [ 'foobar' ] },
memoryLimit: 0,
altDomain: null
memoryLimit: 0
};
var APP_2 = {
@@ -191,8 +189,7 @@ describe('OAuth2', function () {
domain: DOMAIN_0.domain,
portBindings: {},
accessRestriction: { users: [ USER_0.id ] },
memoryLimit: 0,
altDomain: null
memoryLimit: 0
};
var APP_3 = {
@@ -203,8 +200,7 @@ describe('OAuth2', function () {
domain: DOMAIN_0.domain,
portBindings: {},
accessRestriction: { groups: [ 'someothergroup', 'admin', 'anothergroup' ] },
memoryLimit: 0,
altDomain: null
memoryLimit: 0
};
// unknown app