mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
* fix webhooks not firing due to missing session * disable webhook test button because it doesnt do anything * fix background task administration not working at all * fix error in test
This commit is contained in:
parent
da791ec9c5
commit
84d55eb920
8 changed files with 44 additions and 33 deletions
|
@ -51,7 +51,7 @@ def test_get_scheduled_webhooks_filter_query(database: AllRepositories, unique_u
|
|||
if new_item.enabled:
|
||||
expected.append(new_item)
|
||||
|
||||
event_bus_listener = WebhookEventListener(database.session, unique_user.group_id) # type: ignore
|
||||
event_bus_listener = WebhookEventListener(unique_user.group_id) # type: ignore
|
||||
results = event_bus_listener.get_scheduled_webhooks(start, datetime.now() + timedelta(minutes=5))
|
||||
|
||||
assert len(results) == len(expected)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue