Test reset: also reset memberships.
This commit is contained in:
1 parent
037f0f79a7
commit
46abeac2c0
1 file changed
+1
@@ -861,6 +861,7 @@ class TestAuthenticationViewSet(viewsets.ViewSet):
|
||||
|
||||
# Delete all of the journal data for this user for a clear test env
|
||||
user.collection_set.all().delete()
|
||||
user.collectionmember_set.all().delete()
|
||||
user.incoming_invitations.all().delete()
|
||||
|
||||
# FIXME: also delete chunk files!!!
|
||||
|
||||
Reference in new issue
Block a user