fix tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2016-11-29 13:40:41 +01:00
parent 1d50cab1c6
commit e7a146bd62
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with 2 additions and 1 deletions

View File

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