summaryrefslogtreecommitdiffstats
path: root/core/js/tests/specs/sharedialogviewSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/tests/specs/sharedialogviewSpec.js')
-rw-r--r--core/js/tests/specs/sharedialogviewSpec.js3
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() {