Skip to content

Commit

Permalink
Update trigger url to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ephraimbuddy committed Jul 7, 2023
1 parent fc4934e commit 62859f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/www/views/test_views_trigger_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def test_trigger_dag_params_array_value_none_render(admin_client, dag_maker, ses
def test_dag_run_id_pattern(session, admin_client, pattern, run_id, result):
with conf_vars({("scheduler", "allowed_run_id_pattern"): pattern}):
test_dag_id = "example_bash_operator"
admin_client.post(f"dags/{test_dag_id}/trigger?&run_id={run_id}")
admin_client.post(f"trigger?dag_id={test_dag_id}&run_id={run_id}")
run = session.query(DagRun).filter(DagRun.dag_id == test_dag_id).first()
if result:
assert run is not None
Expand Down

0 comments on commit 62859f0

Please sign in to comment.