Fix tests for adding users to group in OCS

This commit is contained in:
Benedikt Kulmann
2020-10-22 12:44:44 +02:00
parent 1d66c22fc1
commit 0403264aef
2 changed files with 13 additions and 4 deletions
+1 -2
View File
@@ -1576,7 +1576,6 @@ func TestAddUsersToGroupsNewUsers(t *testing.T) {
}
}
// Issue: https://github.com/owncloud/ocis/ocs/issues/55 Incorrect message when adding user to non existing group
func TestAddUsersToGroupInvalidGroup(t *testing.T) {
user := User{
Enabled: "true",
@@ -1629,7 +1628,7 @@ func TestAddUsersToGroupInvalidGroup(t *testing.T) {
assertResponseMeta(t, Meta{
"error",
998,
"The requested user could not be found",
"The requested group could not be found",
}, response.Ocs.Meta)
assert.Empty(t, response.Ocs.Data)
}