diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-11-29 13:40:41 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-11-29 13:40:41 +0100 |
commit | e7a146bd62bd423810f3e87340234e2a49813c45 (patch) | |
tree | d4454c980bcb1038fc1be2a2117f4c1fb4f764fb /core | |
parent | 1d50cab1c6aed0229b4d0fb8ddcb805b335cb321 (diff) | |
download | nextcloud-server-e7a146bd62bd423810f3e87340234e2a49813c45.tar.gz nextcloud-server-e7a146bd62bd423810f3e87340234e2a49813c45.zip |
fix tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/tests/specs/sharedialogviewSpec.js | 3 |
1 files changed, 2 insertions, 1 deletions
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() { |