]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix unit tests 2247/head
authorMorris Jobke <hey@morrisjobke.de>
Wed, 23 Nov 2016 17:02:23 +0000 (18:02 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 23 Nov 2016 17:02:23 +0000 (18:02 +0100)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
core/js/tests/specs/jquery.avatarSpec.js

index f5caae10020657c71fc19824056c9383791a73e5..9bb10c41be75bded077976051401c5e01e892762 100644 (file)
@@ -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() {