summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-01-08 10:35:32 +0100
committerJulius Härtl <jus@bitgrid.net>2018-01-08 10:36:06 +0100
commitfd8f0788b1b719d1610b1865f60b8dfb4ebc1d4d (patch)
tree4f7283032216181e11c1f4ffdb7875eddf3289a1 /core/js
parent04a18098e458bccfe632e4e30d879d87d2b60d47 (diff)
downloadnextcloud-server-fd8f0788b1b719d1610b1865f60b8dfb4ebc1d4d.tar.gz
nextcloud-server-fd8f0788b1b719d1610b1865f60b8dfb4ebc1d4d.zip
Fix tests
The avatar plugin should not change the display element, since the avatar is always shown by default and the display value is up to the developers Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/tests/specs/jquery.avatarSpec.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/js/tests/specs/jquery.avatarSpec.js b/core/js/tests/specs/jquery.avatarSpec.js
index bdd1fdcc163..4e13b7f26ff 100644
--- a/core/js/tests/specs/jquery.avatarSpec.js
+++ b/core/js/tests/specs/jquery.avatarSpec.js
@@ -202,8 +202,6 @@ describe('jquery.avatar tests', function() {
expect(window.Image().height).toEqual(32);
expect(window.Image().width).toEqual(32);
expect(window.Image().src).toEqual('http://localhost/index.php/avatar/foo/32');
-
- expect($div.css('display')).toEqual('block');
});
it('callback called', function() {