mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 21:11:16 +00:00
update tests
This commit is contained in:
parent
6fde19e9b1
commit
b3dc81dea0
1 changed files with 1 additions and 2 deletions
|
@ -37,7 +37,6 @@ class GroupViews(TestCase):
|
|||
outbox="https://example.com/users/rat/outbox",
|
||||
)
|
||||
|
||||
with patch():
|
||||
self.testgroup = models.Group.objects.create(
|
||||
id=999,
|
||||
name="Test Group",
|
||||
|
@ -83,7 +82,7 @@ class GroupViews(TestCase):
|
|||
def test_group_post(self, _):
|
||||
"""edit a "group" database entry"""
|
||||
view = views.Group.as_view()
|
||||
self.factory.post(
|
||||
view.post(
|
||||
group_id=999,
|
||||
name="Test Group",
|
||||
user=self.local_user,
|
||||
|
|
Loading…
Reference in a new issue