diff --git a/.vscode/launch.json b/.vscode/launch.json index b9506cd09..875c603fa 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,7 +4,8 @@ { "name": "Listen for Xdebug", "type": "php", - "request": "launch" + "request": "launch", + "port": 9003 }, { "name": "Debug remote :40000", diff --git a/tests/acceptance/features/apiSpacesShares/copySpaces.feature b/tests/acceptance/features/apiSpacesShares/copySpaces.feature index 8eba2c2cf..df1ccb7c9 100644 --- a/tests/acceptance/features/apiSpacesShares/copySpaces.feature +++ b/tests/acceptance/features/apiSpacesShares/copySpaces.feature @@ -280,6 +280,7 @@ Feature: copy file | sharee | Alice | | shareType | user | | permissionsRole | Secure Viewer | + And user "Alice" has a share "testshare" synced When user "Alice" copies file "/testshare/testshare.txt" from space "Shares" to "/testshare.txt" inside space "Personal" using the WebDAV API Then the HTTP status code should be "403" And for user "Alice" the space "Personal" should not contain these entries: diff --git a/tests/acceptance/features/coreApiWebdavPreviews/previews.feature b/tests/acceptance/features/coreApiWebdavPreviews/previews.feature index c9d32a505..6491b02c5 100644 --- a/tests/acceptance/features/coreApiWebdavPreviews/previews.feature +++ b/tests/acceptance/features/coreApiWebdavPreviews/previews.feature @@ -323,7 +323,7 @@ Feature: previews of files downloaded through the webdav API And user "Alice" has uploaded file "filesForUpload/testavatar.jpg" to "/testavatar.jpg" When user "Alice" tries to download the preview of "/testavatar.jpg" with width "32" and height "32" and preview set to 0 using the WebDAV API Then the HTTP status code should be "200" - And the downloaded image should be "1240" pixels wide and "648" pixels high + And the downloaded image should be "1402" pixels wide and "500" pixels high Examples: | dav-path-version | | old | @@ -376,8 +376,8 @@ Feature: previews of files downloaded through the webdav API | THUMBNAILS_MAX_INPUT_WIDTH | 200 | | THUMBNAILS_MAX_INPUT_HEIGHT | 200 | And using DAV path - And user "Alice" has uploaded file "filesForUpload/testavatar.jpg" to "/testimage.jpg" - When user "Alice" downloads the preview of "/testimage.jpg" with width "36" and height "36" and processor thumbnail using the WebDAV API + And user "Alice" has uploaded file "filesForUpload/testavatar.png" to "/testimage.png" + When user "Alice" downloads the preview of "/testimage.png" with width "36" and height "36" and processor thumbnail using the WebDAV API Then the HTTP status code should be "403" And the value of the item "/d:error/s:message" in the response should be "thumbnails: image is too large" Examples: diff --git a/tests/acceptance/filesForUpload/simple.pdf b/tests/acceptance/filesForUpload/simple.pdf index 305e543db..a7ae3e9fb 100644 Binary files a/tests/acceptance/filesForUpload/simple.pdf and b/tests/acceptance/filesForUpload/simple.pdf differ diff --git a/tests/acceptance/filesForUpload/testavatar.jpg b/tests/acceptance/filesForUpload/testavatar.jpg index eae213b82..62cb25678 100644 Binary files a/tests/acceptance/filesForUpload/testavatar.jpg and b/tests/acceptance/filesForUpload/testavatar.jpg differ diff --git a/tests/acceptance/filesForUpload/testavatar.png b/tests/acceptance/filesForUpload/testavatar.png index bd9c3cb1e..4df347033 100644 Binary files a/tests/acceptance/filesForUpload/testavatar.png and b/tests/acceptance/filesForUpload/testavatar.png differ diff --git a/tests/acceptance/fixtures/fill.png b/tests/acceptance/fixtures/fill.png index 7110deebe..ab89e0935 100644 Binary files a/tests/acceptance/fixtures/fill.png and b/tests/acceptance/fixtures/fill.png differ diff --git a/tests/acceptance/fixtures/fit.png b/tests/acceptance/fixtures/fit.png index 75ebf39b0..d2da3cf4a 100644 Binary files a/tests/acceptance/fixtures/fit.png and b/tests/acceptance/fixtures/fit.png differ diff --git a/tests/acceptance/fixtures/resize.png b/tests/acceptance/fixtures/resize.png index 8dad978da..170bfb0f3 100644 Binary files a/tests/acceptance/fixtures/resize.png and b/tests/acceptance/fixtures/resize.png differ diff --git a/tests/acceptance/fixtures/thumbnail.png b/tests/acceptance/fixtures/thumbnail.png index 7110deebe..ab89e0935 100644 Binary files a/tests/acceptance/fixtures/thumbnail.png and b/tests/acceptance/fixtures/thumbnail.png differ diff --git a/tests/acceptance/fixtures/unicode-fixture.png b/tests/acceptance/fixtures/unicode-fixture.png index 04837c22b..768f1b6a7 100644 Binary files a/tests/acceptance/fixtures/unicode-fixture.png and b/tests/acceptance/fixtures/unicode-fixture.png differ