Fixes javascript tests for apps.js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
ac2135560f
commit
896be27e72
|
@ -185,26 +185,32 @@ describe('OC.Settings.Apps tests', function() {
|
||||||
{
|
{
|
||||||
id: 'foo',
|
id: 'foo',
|
||||||
name: 'Foo app',
|
name: 'Foo app',
|
||||||
level: 0
|
level: 0,
|
||||||
|
author: 'foo'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'alpha',
|
id: 'alpha',
|
||||||
name: 'Alpha app',
|
name: 'Alpha app',
|
||||||
level: 300
|
level: 300,
|
||||||
|
author: ['alpha', 'beta']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'nolevel',
|
id: 'nolevel',
|
||||||
name: 'No level'
|
name: 'No level',
|
||||||
|
author: 'bar'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'zork',
|
id: 'zork',
|
||||||
name: 'Some famous adventure game',
|
name: 'Some famous adventure game',
|
||||||
level: 200
|
level: 200,
|
||||||
|
author: 'baz'
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'delta',
|
id: 'delta',
|
||||||
name: 'Mathematical symbol',
|
name: 'Mathematical symbol',
|
||||||
level: 200
|
level: 200,
|
||||||
|
author: 'foobar'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
@ -217,26 +223,31 @@ describe('OC.Settings.Apps tests', function() {
|
||||||
'foo': {
|
'foo': {
|
||||||
id: 'foo',
|
id: 'foo',
|
||||||
name: 'Foo app',
|
name: 'Foo app',
|
||||||
level: 0
|
level: 0,
|
||||||
|
author: 'foo'
|
||||||
},
|
},
|
||||||
'alpha': {
|
'alpha': {
|
||||||
id: 'alpha',
|
id: 'alpha',
|
||||||
name: 'Alpha app',
|
name: 'Alpha app',
|
||||||
level: 300
|
level: 300,
|
||||||
|
author: ['alpha', 'beta']
|
||||||
},
|
},
|
||||||
'nolevel': {
|
'nolevel': {
|
||||||
id: 'nolevel',
|
id: 'nolevel',
|
||||||
name: 'No level'
|
name: 'No level',
|
||||||
|
author: 'bar'
|
||||||
},
|
},
|
||||||
'zork': {
|
'zork': {
|
||||||
id: 'zork',
|
id: 'zork',
|
||||||
name: 'Some famous adventure game',
|
name: 'Some famous adventure game',
|
||||||
level: 200
|
level: 200,
|
||||||
|
author: 'baz',
|
||||||
},
|
},
|
||||||
'delta': {
|
'delta': {
|
||||||
id: 'delta',
|
id: 'delta',
|
||||||
name: 'Mathematical symbol',
|
name: 'Mathematical symbol',
|
||||||
level: 200
|
level: 200,
|
||||||
|
author: 'foobar'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue