]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixes javascript tests for apps.js 2093/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Sun, 13 Nov 2016 13:28:32 +0000 (14:28 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sun, 13 Nov 2016 13:28:32 +0000 (14:28 +0100)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
settings/tests/js/appsSpec.js

index d2ca1fb5c8b751ff4d615cccdda6a9af8f7c1c39..aa785a6768e9d0c1139f060a422076b6bf36edb7 100644 (file)
@@ -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'
                                }
                        });
                });