Fix tests

This commit is contained in:
Adrian Moennich 2023-12-12 18:09:12 +01:00
parent 6d09488243
commit 72655fe0ad

View File

@ -52,7 +52,7 @@ def test_dump_event(db, dummy_user, dummy_event):
'site': 'http://localhost', 'site': 'http://localhost',
'title': 'dummy#0' 'title': 'dummy#0'
}, },
'category_id': 1, 'category_id': category_id,
'category_path': [ 'category_path': [
{'id': 0, 'title': 'Home', 'url': '/'}, {'id': 0, 'title': 'Home', 'url': '/'},
{'id': category_id, 'title': 'dummy', 'url': f'/category/{category_id}/'}, {'id': category_id, 'title': 'dummy', 'url': f'/category/{category_id}/'},