]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix tests 2394/head
authorMorris Jobke <hey@morrisjobke.de>
Tue, 29 Nov 2016 12:40:41 +0000 (13:40 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 29 Nov 2016 12:40:41 +0000 (13:40 +0100)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
core/js/tests/specs/sharedialogviewSpec.js

index a44bb309c5cac365c6dac64bac148594935e16a5..985610d51fb52bf8bedf88e71d14a067340a6391 100644 (file)
@@ -464,8 +464,9 @@ describe('OC.Share.ShareDialogView', function() {
 
                        it('test avatar user', function() {
                                var args = avatarStub.getCall(1).args;
-                               expect(args.length).toEqual(2);
+                               expect(args.length).toEqual(6);
                                expect(args[0]).toEqual('user1');
+                               expect(args[5]).toEqual('User One');
                        });
 
                        it('test avatar for groups', function() {