diff --git a/tests/acceptance/features/bootstrap/WebDav.php b/tests/acceptance/features/bootstrap/WebDav.php index c4a5ad692a..565a780790 100644 --- a/tests/acceptance/features/bootstrap/WebDav.php +++ b/tests/acceptance/features/bootstrap/WebDav.php @@ -1576,7 +1576,7 @@ trait WebDav { $type ); $statusCode = $response->getStatusCode(); - if ($statusCode < 401 || $statusCode > 404) { + if ($statusCode < 400 || $statusCode > 499) { try { $responseXml = HttpRequestHelper::getResponseXml( $response, diff --git a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFile.feature b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFile.feature index ddececd3fb..ee868e4ac9 100644 --- a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFile.feature +++ b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFile.feature @@ -164,14 +164,17 @@ Feature: upload file | old | "filewithLF-and-CR\r\n" | ZmlsZXdpdGhMRi1hbmQtQ1INCgo= | | old | "folder/file" | Zm9sZGVyL2ZpbGU= | | old | "my\\file" | bXkMaWxl | + | old | ".." | Li4= | | new | " " | IA== | | new | "filewithLF-and-CR\r\n" | ZmlsZXdpdGhMRi1hbmQtQ1INCgo= | | new | "folder/file" | Zm9sZGVyL2ZpbGU= | | new | "my\\file" | bXkMaWxl | + | new | ".." | Li4= | | spaces | " " | IA== | | spaces | "filewithLF-and-CR\r\n" | ZmlsZXdpdGhMRi1hbmQtQ1INCgo= | | spaces | "folder/file" | Zm9sZGVyL2ZpbGU= | | spaces | "my\\file" | bXkMaWxl | + | spaces | ".." | Li4= | Scenario Outline: upload a zero-byte file