mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
fix unit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
298cd0f1f8
commit
34849f7bd3
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue