Skip to content

Commit

Permalink
test(api): post route expecting [] for id_module
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Vergez committed Nov 6, 2023
1 parent 82ded01 commit 1842c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/geonature/tests/test_synthese.py
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,7 @@ def test_get_observations_for_web_blurring(
set_logged_user(self.client, current_user)
url = url_for("gn_synthese.get_observations_for_web")

response_json = self.client.post(url, json={"id_source": source.id_source}).json
response_json = self.client.post(url, json={"id_source": [source.id_source]}).json

# Check unsensitive synthese obs geometry
unsensitive_synthese = synthese_sensitive_data["obs_protected_not_sensitive"]
Expand Down

0 comments on commit 1842c8a

Please sign in to comment.