mirror of
https://github.com/etesync/server
synced 2024-12-27 09:48:24 +00:00
Test reset: also reset memberships.
This commit is contained in:
parent
037f0f79a7
commit
46abeac2c0
@ -861,6 +861,7 @@ class TestAuthenticationViewSet(viewsets.ViewSet):
|
|||||||
|
|
||||||
# Delete all of the journal data for this user for a clear test env
|
# Delete all of the journal data for this user for a clear test env
|
||||||
user.collection_set.all().delete()
|
user.collection_set.all().delete()
|
||||||
|
user.collectionmember_set.all().delete()
|
||||||
user.incoming_invitations.all().delete()
|
user.incoming_invitations.all().delete()
|
||||||
|
|
||||||
# FIXME: also delete chunk files!!!
|
# FIXME: also delete chunk files!!!
|
||||||
|
Loading…
Reference in New Issue
Block a user