Closed PrajwolAmatya closed 1 month ago
@saw-jan @PrajwolAmatya
remote.php
As per my research in OCIS-tests, i have found that tests cases for endpoints with remote.php
are covered for all dav-paths in tests/acceptance/features/apiSearch1/search.feature
:
old : https://localhost:9200/remote.php/webdav
new : https://localhost:9200/remote.php/dav/files/admin
spaces: https://localhost:9200/remote.php/dav/spaces/{space-id}
I haven't found test coverage for endpoint without {space-id} i.e https://localhost:9200/remote.php/dav/spaces
remote.php
For the following endpoints without remote.php
:
old : https://localhost:9200/webdav
new : https://localhost:9200/dav/files/admin
spaces: https://localhost:9200/dav/spaces
& https://localhost:9200/dav/spaces/{space-id}
I think it should be discussed on how to optimally implement these cases
- [ ] Check for the related test coverages
- [ ] Add test coverages for these endpoint
Tests now use these paths for REPORT request: (#10044)
https://localhost:9200/remote.php/webdav
https://localhost:9200/remote.php/dav/files
https://localhost:9200/remote.php/dav/spaces
And as per https://github.com/owncloud/ocis/issues/7104#issuecomment-1711310103, we really don't need to test with space-id in the request path.
- [ ] Check with and without
remote.php
in dav-path
This will be done in another PR with different implementation.
And I want to move bug reports coverage in ticket https://github.com/owncloud/ocis/issues/9948
So maybe we can close this one? CC @prashant-gurung899 @amrita-shrestha @Salipa-Gurung @PrajwolAmatya
I am closing this here.
Description
It seems there might not be full test coverage for
REPORT
request for endpoint/remote.php/dav/spaces/
with and withoutspaceUUID
,-XREPORT https://localhost:9200/dav/spaces/
-XREPORT https://localhost:9200/dav/spaces/spaceUUID
Both seems to behave the same way.
TODO:
remote.php
in dav-pathRelated bug reports: