mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-30 04:11:42 -05:00
try to fix test code
This commit is contained in:
@@ -822,7 +822,7 @@ def test_update_service_permission_creates_a_history_record_with_current_data(
|
||||
.filter_by(name="service_name")
|
||||
.order_by("version")
|
||||
)
|
||||
history = db.session.execute(stmt).all()
|
||||
history = db.session.execute(stmt).scalars().all()
|
||||
assert len(history) == 3
|
||||
assert history[2].version == 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user