mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 01:51:08 +00:00
Fixes delete test
This commit is contained in:
parent
b891f32707
commit
21527803de
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class EmailBlocklistViews(TestCase):
|
|||
domain = models.EmailBlocklist.objects.create(domain="gmail.com")
|
||||
|
||||
view = views.EmailBlocklist.as_view()
|
||||
request = self.factory.post(f"/settings/email-blocklist/{domain.id}/delete")
|
||||
request = self.factory.post("", domain_id=domain.id)
|
||||
request.user = self.local_user
|
||||
request.user.is_superuser = True
|
||||
|
||||
|
|
Loading…
Reference in a new issue