From fcc593ea6bd0d6b1d186b85f7a3eee275f93a20b Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 19 Dec 2022 10:09:19 -0500 Subject: [PATCH] Fixing some tests. --- .../tests/spiffworkflow_backend/unit/test_user_service.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_user_service.py b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_user_service.py index 5dfaf2b0d..02d391e7a 100644 --- a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_user_service.py +++ b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_user_service.py @@ -21,7 +21,7 @@ class TestUserService(BaseTest): ) -> None: """Test_waiting_group_assignments""" aTestGroup = GroupService.find_or_create_group("aTestGroup") - UserService.add_group_assignment("initiator_user", aTestGroup) + UserService.add_waiting_group_assignment("initiator_user", aTestGroup) initiator_user = self.find_or_create_user("initiator_user") assert initiator_user.groups[0] == aTestGroup @@ -33,7 +33,7 @@ class TestUserService(BaseTest): ) -> None: """Test_waiting_group_assignments""" everybody_group = GroupService.find_or_create_group("everybodyGroup") - UserService.add_group_assignment(UserGroupAssignmentWaitingModel.MATCH_ALL_USERS, everybody_group) + UserService.add_waiting_group_assignment(UserGroupAssignmentWaitingModel.MATCH_ALL_USERS, everybody_group) initiator_user = self.find_or_create_user("initiator_user") assert initiator_user.groups[0] == everybody_group @@ -46,5 +46,5 @@ class TestUserService(BaseTest): """Test_waiting_group_assignments""" initiator_user = self.find_or_create_user("initiator_user") everybody_group = GroupService.find_or_create_group("everybodyGroup") - UserService.add_group_assignment(UserGroupAssignmentWaitingModel.MATCH_ALL_USERS, everybody_group) + UserService.add_waiting_group_assignment(UserGroupAssignmentWaitingModel.MATCH_ALL_USERS, everybody_group) assert initiator_user.groups[0] == everybody_group