Skip to content

Commit

Permalink
fix server test
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Nov 11, 2024
1 parent 2257ce9 commit a237872
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/planning/events/events_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,6 @@ def test_related_planning_item_fields_validation_on_post(self):
"slugline": "slug",
"agendas": [],
"languages": ["en"],
"event_item": event_id[0],
"coverages": [
{
"coverage_id": "urn:newsmle264a179-5b1a-4b52-b73b-332660848cae",
Expand All @@ -677,6 +676,9 @@ def test_related_planning_item_fields_validation_on_post(self):
"firstcreated": datetime(2099, 11, 21, 12, 00, 00, tzinfo=pytz.UTC),
}
],
"related_events": [
PlanningRelatedEventLink(_id=event_id[0], link_type="primary"),
],
}
planning_id = planning_service.post([planning])
self.app.data.insert(
Expand Down

0 comments on commit a237872

Please sign in to comment.