Skip to content

Commit

Permalink
Fix test logic
Browse files Browse the repository at this point in the history
  • Loading branch information
harminius committed Feb 10, 2025
1 parent d55ddf7 commit c1afc25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/mergin/tests/test_project_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -2530,7 +2530,7 @@ def test_upload_validation(client):
"removed": [],
}
# Manipulate the path by prepending ../../
manipulated_path = "../../script.sh"
manipulated_path = "../../image.png"
changes["added"][0]["path"] = manipulated_path
# Block script upload in push_start because of the invalid path
resp = client.post(
Expand Down

0 comments on commit c1afc25

Please sign in to comment.