Skip to content

Commit 67c1989

Browse files
committed
fix test
1 parent c467196 commit 67c1989

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

coldfront/core/project/test_views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ def test_projectdetail_permissions(self):
111111

112112
def test_projectdetail_request_allocation_button_visibility(self):
113113
"""Test visibility of project detail request allocation button to different projectuser levels"""
114-
utils.page_contains_for_user(self, self.admin_user, self.url, 'Request Storage Allocation') # admin can see request allocation button
114+
utils.page_contains_for_user(self, self.admin_user, self.url, 'Request New Storage Allocation') # admin can see request allocation button
115115

116-
utils.page_contains_for_user(self, self.pi_user, self.url, 'Request Storage Allocation') # pi can see request allocation button
116+
utils.page_contains_for_user(self, self.pi_user, self.url, 'Request New Storage Allocation') # pi can see request allocation button
117117

118118
response = utils.login_and_get_page(self.client, self.project_user, self.url)
119-
self.assertNotContains(response, 'Request Storage Allocation') # non-manager user cannot see request allocation button
119+
self.assertNotContains(response, 'Request New Storage Allocation') # non-manager user cannot see request allocation button
120120

121121
def test_projectdetail_edituser_button_visibility(self):
122122
"""Test visibility of project detail edit button to different projectuser levels"""

0 commit comments

Comments
 (0)