Update test

This commit is contained in:
shamoon committed 2026-10-07 15:52:58 -07:00
1 parent 56d5bb7255
commit 94ae632920
1 file changed
+7 -1
@@ -1065,7 +1065,13 @@ class TestVersionActionPermissions(DirectoriesMixin, APITestCase):
for owner in (None, self.user):
self.version.owner = owner
self.version.save(update_fields=["owner"])
for action in ("notes", "suggestions", "history", "share_links"):
for action in (
"notes",
"suggestions",
"ai_suggestions",
"history",
"share_links",
):
with self.subTest(owner=owner, action=action):
response = self.client.get(
f"/api/documents/{self.version.pk}/{action}/",