Commit Graph

13 Commits

Author SHA1 Message Date
Michael Stingl
3893be6ed1 test(coreApiWebdavOperations): download a file with a literal "%" via its oc:downloadURL (#3079)
A file whose name contains a literal "%" 404s on download because the
server-built oc:downloadURL did not percent-encode the path (#2852, fixed in
reva by https://github.com/opencloud-eu/reva/pull/653). Add a scenario mirroring
the web client download flow: read the oc:downloadURL from PROPFIND and GET it
as-is (the signature in the URL authenticates it), asserting 200 and the content.

The new step "user X downloads the P file via its oc:downloadURL" lives in
WebDavPropertiesContext; a regex annotation avoids the ":" in oc:downloadURL
colliding with the turnip :placeholder syntax.

Verified red->green on posix and decomposed: red on an opencloud built on a reva
with the fix reverted (the download 404s), green on the shipped reva.

https://github.com/opencloud-eu/opencloud/issues/2852
2026-07-17 14:20:00 +02:00
Viktor Scharf
a53eb44083 steps refactoring (#3100) 2026-07-14 09:32:35 +02:00
Jörn Friedrich Dreyer
a5c9cbc26e drop project reference in testsuite headers, copyright and license remain
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-29 17:20:44 +01:00
Viktor Scharf
2d632b5e5b php-setup-and-run-all-tests 2025-01-17 16:43:09 +01:00
Niraj Acharya
089ccc1ca3 updating lint rules for test code 2024-12-30 09:18:45 +05:45
amrita
e83b63ffe6 rename variable name and remove unwanted function 2024-12-02 16:53:12 +05:45
amrita
e76ba90bee remove getResponseXml 2024-12-02 16:51:51 +05:45
Saw-jan
766ad4b40c ci: make remote.php default
docs: add documentation

test: rename uniquePath to suffixPath
2024-10-21 17:08:25 +05:45
Saw-jan
f86d137f87 test: make remote.php configurable
test: build dav paths

test: fix paths

test: merge method args

test: add issue tags

test: add new expected failure file

test: merge expected-failure files before running tests
2024-10-21 16:57:58 +05:45
Saw-jan
ca76f79be3 test: get necessary contexts properly 2024-10-08 15:17:44 +05:45
Niraj Acharya
e906f9f9b5 refactoring test code 2024-10-08 14:46:33 +05:45
Niraj Acharya
db844fb5ab removing SPACE_ID_FROM_OCIS from test code 2024-10-03 09:08:10 +05:45
prashant-gurung899
d8d7b700cd reorganize test folders within the acceptance directory
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-08-28 14:54:45 +05:45