From a328846a8b1a8041fdf8dee5329244929d3c160c Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Thu, 22 Sep 2022 08:25:48 -0400 Subject: [PATCH] We call create_principal in create_user --- tests/spiffworkflow_backend/helpers/base_test.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/spiffworkflow_backend/helpers/base_test.py b/tests/spiffworkflow_backend/helpers/base_test.py index cd734b65..145a93c7 100644 --- a/tests/spiffworkflow_backend/helpers/base_test.py +++ b/tests/spiffworkflow_backend/helpers/base_test.py @@ -40,7 +40,6 @@ class BaseTest: user = UserService().create_user("internal", username, username=username) if isinstance(user, UserModel): - UserService().create_principal(user_id=user.id) return user raise ApiError(