Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin-Sun-tts committed Jan 13, 2025
1 parent 50d8666 commit c87c13d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/app/test_login_required.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_harvest_data_edit_buttons__logged_in(
f'<a href="/harvest_source/config/edit/{source_data_dcatus["id"]}"'
)
source_clear_text = (
f'<a href="/harvest_source/harvest/{source_data_dcatus["id"]}"'
f'<a href="/harvest_source/harvest/{source_data_dcatus["id"]}/clear"'
)
source_delete_text = f"onclick=\"confirmAction('delete', '/harvest_source/config/delete/{source_data_dcatus['id']}')"
assert res.status_code == 200
Expand All @@ -106,7 +106,7 @@ def test_harvest_data_edit_buttons__logged_out(
f'<a href="/harvest_source/config/edit/{source_data_dcatus["id"]}"'
)
source_clear_text = (
f'<a href="/harvest_source/harvest/{source_data_dcatus["id"]}"'
f'<a href="/harvest_source/harvest/{source_data_dcatus["id"]}/clear"'
)
source_delete_text = f"onclick=\"confirmAction('delete', '/harvest_source/config/delete/{source_data_dcatus['id']}')"
assert res.status_code == 200
Expand Down

1 comment on commit c87c13d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests Skipped Failures Errors Time
2 0 💤 0 ❌ 0 🔥 10.181s ⏱️

Please sign in to comment.