Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Kehl committed Nov 15, 2024
1 parent 1f0a64d commit 555cf5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/app/service/test_service_guest_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def test_update_guest_list_replaces_old_guest_list(client, sample_service_guest_

assert response.status_code == 204
guest_list = (
db.session.execute(select(ServiceGuestList))
.order_by(ServiceGuestList.recipient)
db.session.execute(select(ServiceGuestList)
.order_by(ServiceGuestList.recipient))
.scalars()
.all()
)
Expand Down
4 changes: 2 additions & 2 deletions tests/app/service/test_suspend_resume_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def test_service_history_is_created(client, sample_service, action, original_sta
)
ServiceHistory = Service.get_history_model()
history = (
db.session.execute(select(ServiceHistory))
db.session.execute(select(ServiceHistory)
.filter_by(id=sample_service.id)
.order_by(ServiceHistory.version.desc())
.order_by(ServiceHistory.version.desc()))
.scalars()
.first()
)
Expand Down

0 comments on commit 555cf5d

Please sign in to comment.