diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-30 15:47:34 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-30 15:47:34 +0200 |
commit | 1d8c10cf638fb954d1cc20c47ad46e697a18e9e4 (patch) | |
tree | 5936d721dc868e799594978133e0bc63905b6413 /tests | |
parent | eeac6e2ab17bb9bfd94c51e8e026daa25ef3a033 (diff) | |
parent | 1051a3c6f5891e703a15225e12bbb9417755a860 (diff) | |
download | nextcloud-server-1d8c10cf638fb954d1cc20c47ad46e697a18e9e4.tar.gz nextcloud-server-1d8c10cf638fb954d1cc20c47ad46e697a18e9e4.zip |
Merge pull request #19468 from owncloud/fix-36-vs-32-previews
Change small thumbnails to 32 px
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 a135ed40d0a..9374cf2393f 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()); |