Skip to content

Commit 84f1b14

Browse files
committed
fixed test
1 parent 6ec93d9 commit 84f1b14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/tests/unit/test_ranking_service.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@ def test_save_preferences_updates_status(db_session: Session):
280280
caring_for_someone="no",
281281
self_treatments=["Chemotherapy"],
282282
)
283+
user.form_status = FormStatus.RANKING_TODO
284+
db_session.commit()
283285
service = RankingService(db_session)
284286

285287
items = [

0 commit comments

Comments
 (0)