diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-13 14:28:32 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-13 14:28:32 +0100 |
commit | 896be27e7232cae77f8e0ec25e1fec9f548c9a9a (patch) | |
tree | 94d348e0e3f0c5671f51d0131338b91c5d235ad1 /settings/tests/js | |
parent | ac2135560fcac13b08744388e24c498433ba5297 (diff) | |
download | nextcloud-server-896be27e7232cae77f8e0ec25e1fec9f548c9a9a.tar.gz nextcloud-server-896be27e7232cae77f8e0ec25e1fec9f548c9a9a.zip |
Fixes javascript tests for apps.js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/tests/js')
-rw-r--r-- | settings/tests/js/appsSpec.js | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/settings/tests/js/appsSpec.js b/settings/tests/js/appsSpec.js index d2ca1fb5c8b..aa785a6768e 100644 --- a/settings/tests/js/appsSpec.js +++ b/settings/tests/js/appsSpec.js @@ -185,26 +185,32 @@ describe('OC.Settings.Apps tests', function() { { id: 'foo', name: 'Foo app', - level: 0 + level: 0, + author: 'foo' }, { id: 'alpha', name: 'Alpha app', - level: 300 + level: 300, + author: ['alpha', 'beta'] }, { id: 'nolevel', - name: 'No level' + name: 'No level', + author: 'bar' }, { id: 'zork', name: 'Some famous adventure game', - level: 200 + level: 200, + author: 'baz' + }, { id: 'delta', name: 'Mathematical symbol', - level: 200 + level: 200, + author: 'foobar' } ] }) @@ -217,26 +223,31 @@ describe('OC.Settings.Apps tests', function() { 'foo': { id: 'foo', name: 'Foo app', - level: 0 + level: 0, + author: 'foo' }, 'alpha': { id: 'alpha', name: 'Alpha app', - level: 300 + level: 300, + author: ['alpha', 'beta'] }, 'nolevel': { id: 'nolevel', - name: 'No level' + name: 'No level', + author: 'bar' }, 'zork': { id: 'zork', name: 'Some famous adventure game', - level: 200 + level: 200, + author: 'baz', }, 'delta': { id: 'delta', name: 'Mathematical symbol', - level: 200 + level: 200, + author: 'foobar' } }); }); |