Consolidating code ql findings (#2920)

* Consolidating code ql findings

* Added ref files for backstop to set baseline for removing custom js file

* Potential fix for code scanning alert no. 32: URL redirection from remote source

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Removed unused large file

* Fixed import order

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Alex Janousek
2025-09-18 16:42:39 -04:00
committed by GitHub
parent 34d6c827c2
commit 8057c7f8dc
42 changed files with 60 additions and 7100 deletions

View File

@@ -1234,7 +1234,6 @@ def test_should_be_able_to_move_to_existing_folder(
_expected_redirect=url_for(
"main.choose_template",
service_id=SERVICE_ONE_ID,
_external=True,
),
)
mock_move_to_template_folder.assert_called_once_with(
@@ -1494,7 +1493,6 @@ def test_new_folder_is_created_if_only_new_folder_is_filled_out(
"main.choose_template",
service_id=service_one["id"],
template_folder_id=None,
_external=True,
),
)
@@ -1536,7 +1534,7 @@ def test_should_be_able_to_move_to_new_folder(
},
_expected_status=302,
_expected_redirect=url_for(
"main.choose_template", service_id=SERVICE_ONE_ID, _external=True
"main.choose_template", service_id=SERVICE_ONE_ID
),
)