Graph test coverage (#5098)

* First iteration of a groups test

* Do not render a result in case of an error

* Generate mocks for identity.Backend

* Export listResponse (-> ListResponse)

* Add unit tests for GetGroups

* Finish GetGroups unit tests

* Increase test coverage

* Increase test coverage

* Increase test coverage

* Add missing mocks

* Fix return codes

* Fix error messages
This commit is contained in:
Andre Duffeck
2022-11-23 14:01:29 +01:00
committed by GitHub
parent 1b764d2142
commit 7c2961e18a
8 changed files with 774 additions and 13 deletions

View File

@@ -119,7 +119,7 @@ func (g Graph) getWebDavBaseURL() (*url.URL, error) {
return webDavBaseURL, nil
}
type listResponse struct {
type ListResponse struct {
Value interface{} `json:"value,omitempty"`
}