Add is_active field to EventTheme model and test fixture.

The `is_active` field was introduced to the `EventTheme` model to indicate whether a theme is active. The corresponding test fixture in `conftest.py` was updated to include this new field, ensuring consistency in tests. This change enhances flexibility for managing event themes.
This commit is contained in:
2025-03-12 15:21:28 +01:00
parent a0d472f583
commit 525d1b8012
3 changed files with 287 additions and 267 deletions

View File

@@ -197,6 +197,7 @@ def event_theme_fixture(db_session):
name="Animal Theme",
description="An animal-themed design for events.",
preview_image_url="https://example.com/preview/animal_theme.jpg",
is_active=True,
color_palette={
"primary": "#ff5722",
"secondary": "#4caf50",