Add test for removing env role in update_environment_roles

This commit is contained in:
richard-dds
2018-10-17 16:03:38 -04:00
parent c138df2b0f
commit 0f6fee9909
5 changed files with 74 additions and 5 deletions

View File

@@ -297,7 +297,9 @@ def update_member(workspace_id, member_id):
)
new_role_name = member.role_displayname
Environments.update_environment_role(g.current_user, ids_and_roles, member)
Environments.update_environment_roles(
g.current_user, workspace, member, ids_and_roles
)
return redirect(
url_for(