Increase unit test coverage in the ocdav service
Open
Interaction:Needs-tests
Priority:p2-high
Type:Technical-Debt
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 274
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 103
Description
# Description
The ocdav service serves our most fundamental APIs: `/webav`, `/dav/files`, `/dav/spaces`, `/dav/files-public`...
But currently we are at 3.1%
```
Running tool: /usr/local/bin/go test -timeout 30s -coverprofile=/tmp/vscode-goeLSGxw/go-code-cover github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav
ok github.com/cs3org/reva/v2/internal/http/services/owncloud/ocdav 0.027s coverage: 3.1% of statements
```
Goal: bring coverage up to 70%
Contributor guide
Assessment
This issue has not been assessed yet.