From f0634c90ebad997a9cdef8a7d24b6e61bbf6e5ba Mon Sep 17 00:00:00 2001 From: Nathan Franklin Date: Thu, 14 Sep 2023 20:43:25 -0500 Subject: [PATCH] Fix another error from merge --- geoapi/tests/api_tests/test_feature_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geoapi/tests/api_tests/test_feature_service.py b/geoapi/tests/api_tests/test_feature_service.py index f389e293..4b4d416f 100644 --- a/geoapi/tests/api_tests/test_feature_service.py +++ b/geoapi/tests/api_tests/test_feature_service.py @@ -225,7 +225,7 @@ def test_create_questionnaire_feature(projects_fixture, questionnaire_file_fixtu def test_create_questionnaire_feature_with_assets(projects_fixture, questionnaire_file_with_assets_fixture, image_file_fixture): assets = [image_file_fixture] - feature = FeaturesService.from_rapp_questionnaire(projects_fixture.id, questionnaire_file_with_assets_fixture, additional_files=assets) + feature = FeaturesService.from_rapp_questionnaire(db_session, projects_fixture.id, questionnaire_file_with_assets_fixture, additional_files=assets) assert feature.project_id == projects_fixture.id assert len(feature.assets) == 1 assert db_session.query(Feature).count() == 1