Skip to content

Commit

Permalink
Merge pull request #17302 from opf/chore/update-vcr-record-for-removi…
Browse files Browse the repository at this point in the history
…ng-user-from-nextcloud-group

[chore] remove user no longer has errornous behaviour
  • Loading branch information
Kharonus authored Dec 2, 2024
2 parents f5b2f74 + 33a230b commit bc48a8a
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 380 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,10 @@
before do
create_group(auth, storage, group)
add_user_to_group(user, group)

# There is a bug in the group folder API that does not allow to remove a user from a group,
# if this is its last group
create_group(auth, storage, "Sith Assassins Backup")
add_user_to_group(user, "Sith Assassins Backup")
end

after do
remove_group(auth, storage, group)
remove_group(auth, storage, "Sith Assassins Backup")
end

it "returns a success" do
Expand Down
Loading

0 comments on commit bc48a8a

Please sign in to comment.