diff --git a/changedetectionio/tests/test_diff_filter_only_additions.py b/changedetectionio/tests/test_diff_filter_only_additions.py index 6d0e6907..1ecdceec 100644 --- a/changedetectionio/tests/test_diff_filter_only_additions.py +++ b/changedetectionio/tests/test_diff_filter_only_additions.py @@ -44,7 +44,8 @@ def test_diff_filtering_no_add(client, live_server): # Add our URL to the import page res = client.post( url_for("edit_page", uuid="first"), - data={"trigger_type": "add", + data={"trigger_add": "y", + "trigger_del": "n", "url": test_url, "fetch_backend": "html_requests"}, follow_redirects=True diff --git a/changedetectionio/tests/test_diff_filter_only_deletions.py b/changedetectionio/tests/test_diff_filter_only_deletions.py index 0aa91fa8..34119631 100644 --- a/changedetectionio/tests/test_diff_filter_only_deletions.py +++ b/changedetectionio/tests/test_diff_filter_only_deletions.py @@ -44,7 +44,8 @@ def test_diff_filtering_no_add(client, live_server): # Add our URL to the import page res = client.post( url_for("edit_page", uuid="first"), - data={"trigger_type": "delete", + data={"trigger_add": "n", + "trigger_del": "y", "url": test_url, "fetch_backend": "html_requests"}, follow_redirects=True