Skip to content

Commit

Permalink
Fix another error from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfranklin committed Sep 15, 2023
1 parent 4664898 commit f0634c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geoapi/tests/api_tests/test_feature_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f0634c9

Please sign in to comment.