From 67c19893fc7bace6a7b27f17fc5696e67e2dca24 Mon Sep 17 00:00:00 2001 From: Claire Peters Date: Mon, 11 Dec 2023 14:21:15 -0800 Subject: [PATCH] fix test --- coldfront/core/project/test_views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coldfront/core/project/test_views.py b/coldfront/core/project/test_views.py index 11e674fa1..92421f558 100644 --- a/coldfront/core/project/test_views.py +++ b/coldfront/core/project/test_views.py @@ -111,12 +111,12 @@ def test_projectdetail_permissions(self): def test_projectdetail_request_allocation_button_visibility(self): """Test visibility of project detail request allocation button to different projectuser levels""" - utils.page_contains_for_user(self, self.admin_user, self.url, 'Request Storage Allocation') # admin can see request allocation button + utils.page_contains_for_user(self, self.admin_user, self.url, 'Request New Storage Allocation') # admin can see request allocation button - utils.page_contains_for_user(self, self.pi_user, self.url, 'Request Storage Allocation') # pi can see request allocation button + utils.page_contains_for_user(self, self.pi_user, self.url, 'Request New Storage Allocation') # pi can see request allocation button response = utils.login_and_get_page(self.client, self.project_user, self.url) - self.assertNotContains(response, 'Request Storage Allocation') # non-manager user cannot see request allocation button + self.assertNotContains(response, 'Request New Storage Allocation') # non-manager user cannot see request allocation button def test_projectdetail_edituser_button_visibility(self): """Test visibility of project detail edit button to different projectuser levels"""