fix tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
1d50cab1c6
commit
e7a146bd62
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue