From e7a146bd62bd423810f3e87340234e2a49813c45 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 29 Nov 2016 13:40:41 +0100 Subject: [PATCH] fix tests Signed-off-by: Morris Jobke --- core/js/tests/specs/sharedialogviewSpec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/js/tests/specs/sharedialogviewSpec.js b/core/js/tests/specs/sharedialogviewSpec.js index a44bb309c5c..985610d51fb 100644 --- a/core/js/tests/specs/sharedialogviewSpec.js +++ b/core/js/tests/specs/sharedialogviewSpec.js @@ -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() { -- 2.39.5