feat(subscription): Add comments for subscriptions

Close #3
This commit is contained in:
2026-02-25 10:26:29 +01:00
parent e3cf819fef
commit a45d8ea321
4 changed files with 67 additions and 29 deletions

View File

@@ -39,6 +39,7 @@ def test_subscriptions(db_session):
num_adult_meals=2,
num_children_meals=1,
num_small_children_meals=0,
comment="test",
)
)
db_session.commit()
@@ -54,3 +55,5 @@ def test_subscriptions(db_session):
assert not event1.subscriptions_applied
assert not ignore.subscriptions_applied
assert event2.subscriptions_applied
assert event2.registrations[0].comment is not None
assert "test" in event2.registrations[0].comment