Skip to content

Commit

Permalink
Updated tests, refs #24
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Sep 10, 2024
1 parent e6a46f7 commit 577f1c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_acl_actor_ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def test_datasette_acl_actor_ids_hook(ds, csrftoken, register_plugin):
"/db/t/-/acl",
data={
"new_actor_id": actor_id,
"new_user_insert-row": "on",
"new_user_actions": "insert-row",
"csrftoken": csrftoken,
},
cookies={
Expand Down
2 changes: 1 addition & 1 deletion tests/test_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async def get_members():
# Add permissions for that group on that page, to test audit log later
await ds.client.post(
"/db/t/-/acl",
data={"group_permissions_sales_insert-row": "on", "csrftoken": csrftoken},
data={"group_permissions_sales": "insert-row", "csrftoken": csrftoken},
cookies={
"ds_actor": ds.client.actor_cookie({"id": "root"}),
"ds_csrftoken": csrftoken,
Expand Down

0 comments on commit 577f1c9

Please sign in to comment.