Merge branch 'master' into update-ocis-phoenix-0.20.0
This commit is contained in:
@@ -468,7 +468,7 @@ func createUser(u User) error {
|
|||||||
func createGroup(g Group) error { //lint:file-ignore U1000 not implemented
|
func createGroup(g Group) error { //lint:file-ignore U1000 not implemented
|
||||||
_, err := sendRequest(
|
_, err := sendRequest(
|
||||||
"POST",
|
"POST",
|
||||||
"/v1.php/cloud/users?format=json",
|
"/v1.php/cloud/groups?format=json",
|
||||||
g.getGroupRequestString(),
|
g.getGroupRequestString(),
|
||||||
"admin:admin",
|
"admin:admin",
|
||||||
)
|
)
|
||||||
@@ -525,7 +525,7 @@ func TestCreateUser(t *testing.T) {
|
|||||||
nil,
|
nil,
|
||||||
},
|
},
|
||||||
|
|
||||||
// User withoutl password
|
// User without password
|
||||||
// https://github.com/owncloud/ocis/ocs/issues/50
|
// https://github.com/owncloud/ocis/ocs/issues/50
|
||||||
{
|
{
|
||||||
User{
|
User{
|
||||||
@@ -1786,7 +1786,7 @@ func TestRemoveUserFromGroup(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Issue: https://github.com/owncloud/ocis-ocs/issues/59 - cloud/capabilities endpoint not implemented
|
// Issue: https://github.com/owncloud/ocis-ocs/issues/59 - cloud/capabilities endpoint not implemented
|
||||||
func TestCapablilities(t *testing.T) {
|
func TestCapabilities(t *testing.T) {
|
||||||
for _, ocsVersion := range ocsVersions {
|
for _, ocsVersion := range ocsVersions {
|
||||||
for _, format := range formats {
|
for _, format := range formats {
|
||||||
formatpart := getFormatString(format)
|
formatpart := getFormatString(format)
|
||||||
|
|||||||
Reference in New Issue
Block a user