mirror of
https://github.com/simonw/datasette.git
synced 2026-07-09 17:14:35 +02:00
Fix foreign key label test expectations for default next_url key
Follow-up to the commit adding next_url to the default table JSON keys. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GrHZSypDfMnym1tM5XJAFZ
This commit is contained in:
parent
e5e9aca871
commit
13dc7a08b7
1 changed files with 2 additions and 0 deletions
|
|
@ -2313,6 +2313,7 @@ async def test_foreign_key_labels_obey_permissions(config):
|
|||
assert root_b.json() == {
|
||||
"ok": True,
|
||||
"next": None,
|
||||
"next_url": None,
|
||||
"rows": [{"id": 1, "name": "world", "a_id": {"value": 1, "label": "hello"}}],
|
||||
"truncated": False,
|
||||
}
|
||||
|
|
@ -2320,6 +2321,7 @@ async def test_foreign_key_labels_obey_permissions(config):
|
|||
assert anon_b.json() == {
|
||||
"ok": True,
|
||||
"next": None,
|
||||
"next_url": None,
|
||||
"rows": [{"id": 1, "name": "world", "a_id": 1}],
|
||||
"truncated": False,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue