diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-09-30 11:49:48 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-09-30 11:49:48 +0300 |
commit | 1051a3c6f5891e703a15225e12bbb9417755a860 (patch) | |
tree | 42309f8969042a29e2274e1b3d89da5a97dc322b /tests | |
parent | db79ba547aaf4e3c8ab732aece11f8d738ebad95 (diff) |
Change small thumbnails to 32 px
* fixes #16913
* fixes issues in IE8 where the thumbnail is too big
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/preview.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/preview.php b/tests/lib/preview.php index 9e118014bac..de1669cbf85 100644 --- a/tests/lib/preview.php +++ b/tests/lib/preview.php @@ -534,10 +534,10 @@ class Preview extends TestCase { // Small thumbnails are always cropped $this->keepAspect = false; // Smaller previews should be based on the previous, larger preview, with the correct aspect ratio - $this->createThumbnailFromBiggerCachedPreview($fileId, 36, 36); + $this->createThumbnailFromBiggerCachedPreview($fileId, 32, 32); // 2nd cache query should indicate that we have a cached copy of the exact dimension - $this->getCachedSmallThumbnail($fileId, 36, 36); + $this->getCachedSmallThumbnail($fileId, 32, 32); // We create a preview in order to be able to delete the cache $preview = $this->createPreview(rand(), rand()); |