diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-11-23 18:02:23 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-11-23 18:02:23 +0100 |
commit | 34849f7bd3c93cf15546438e997c63bb6b5a84a6 (patch) | |
tree | e52a93e92b181f01f08a23205b492d1216c02885 /core | |
parent | 298cd0f1f8b38f5da3d9a17fd22479e329eaf7d0 (diff) | |
download | nextcloud-server-34849f7bd3c93cf15546438e997c63bb6b5a84a6.tar.gz nextcloud-server-34849f7bd3c93cf15546438e997c63bb6b5a84a6.zip |
fix unit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/tests/specs/jquery.avatarSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/tests/specs/jquery.avatarSpec.js b/core/js/tests/specs/jquery.avatarSpec.js index f5caae10020..9bb10c41be7 100644 --- a/core/js/tests/specs/jquery.avatarSpec.js +++ b/core/js/tests/specs/jquery.avatarSpec.js @@ -65,7 +65,7 @@ describe('jquery.avatar tests', function() { $div.avatar(); - expect($div.imageplaceholder).toHaveBeenCalledWith('x'); + expect($div.imageplaceholder).toHaveBeenCalledWith('?'); }); describe('no avatar', function() { @@ -96,7 +96,7 @@ describe('jquery.avatar tests', function() { }) ); - expect($div.imageplaceholder).toHaveBeenCalledWith('foo', 'X'); + expect($div.imageplaceholder).toHaveBeenCalledWith('foo', '?'); }); it('show no placeholder', function() { |