From 0eec19764513a1dd495d6a09085f978ad742d6a2 Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Thu, 26 Sep 2024 17:01:20 -0500 Subject: [PATCH] tests: fix test for asset file link --- users/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/tests/test_views.py b/users/tests/test_views.py index 09ad4c17e..28fc649ca 100644 --- a/users/tests/test_views.py +++ b/users/tests/test_views.py @@ -474,7 +474,7 @@ def test_asset_links_are_direct(self) -> None: expected_asset_link = f'href="{asset.value.url}"' # and finally check that the asset link is ACTUALLY pointing to the asset and not the list view page - self.assertIn("View asset", content, "View asset text not found.") + self.assertIn("View File", content, "View file text not found.") self.assertIn(expected_asset_link, content, "Asset link not found in the page.") self.assertEqual(response.status_code, 200) self.assertTemplateUsed(response, "users/sponsorship_detail.html")