Skip to content

Commit

Permalink
Amend update_mask as array
Browse files Browse the repository at this point in the history
  • Loading branch information
bugraoz93 committed Oct 25, 2024
1 parent fe12efb commit 5d21261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api_fastapi/core_api/routes/public/test_dags.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class TestPatchDag(TestDagEndpoint):
"query_params, dag_id, body, expected_status_code, expected_is_paused",
[
({}, "fake_dag_id", {"is_paused": True}, 404, None),
({"update_mask": "field_1, is_paused"}, DAG1_ID, {"is_paused": True}, 400, None),
({"update_mask": ["field_1", "is_paused"]}, DAG1_ID, {"is_paused": True}, 400, None),
({}, DAG1_ID, {"is_paused": True}, 200, True),
({}, DAG1_ID, {"is_paused": False}, 200, False),
({"update_mask": ["is_paused"]}, DAG1_ID, {"is_paused": True}, 200, True),
Expand Down

0 comments on commit 5d21261

Please sign in to comment.