Skip to content

Commit

Permalink
[#929] Fixed inbox page tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vaszig committed Nov 29, 2022
1 parent 31fb7f0 commit 194c656
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/open_inwoner/accounts/tests/test_inbox_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,8 @@ def setUp(self):
self.user2 = UserFactory.create(
first_name="user", last_name="2", email="[email protected]"
)
ContactFactory.create(
created_by=self.me, contact_user=self.user1, email=self.user1.email
)
ContactFactory.create(
created_by=self.me, contact_user=self.user2, email=self.user2.email
)
self.me.user_contacts.add(self.user1)
self.me.user_contacts.add(self.user2)
MessageFactory.create(sender=self.me, receiver=self.user1)
MessageFactory.create(receiver=self.me, sender=self.user2)

Expand Down

0 comments on commit 194c656

Please sign in to comment.