Skip to content

Commit d5a5e42

Browse files
committed
tests: fix test for asset file link
1 parent aaf5105 commit d5a5e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

users/tests/test_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def test_asset_links_are_direct(self) -> None:
474474
expected_asset_link = f'href="{asset.value.url}"'
475475

476476
# and finally check that the asset link is ACTUALLY pointing to the asset and not the list view page
477-
self.assertIn("View asset", content, "View asset text not found.")
477+
self.assertIn("View File", content, "View file text not found.")
478478
self.assertIn(expected_asset_link, content, "Asset link not found in the page.")
479479
self.assertEqual(response.status_code, 200)
480480
self.assertTemplateUsed(response, "users/sponsorship_detail.html")

0 commit comments

Comments
 (0)