From: Morris Jobke Date: Wed, 23 Nov 2016 17:02:23 +0000 (+0100) Subject: fix unit tests X-Git-Tag: v11.0RC2~157^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=34849f7bd3c93cf15546438e997c63bb6b5a84a6;p=nextcloud-server.git fix unit tests Signed-off-by: Morris Jobke --- 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() {