Automatically assign workspace owner to environments

This commit is contained in:
richard-dds
2018-09-10 13:35:16 -04:00
parent 59a5b2da5a
commit 996596f2b3
6 changed files with 9 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ def test_add_user_to_environment():
workspace = Workspaces.create(RequestFactory.create(creator=owner))
project = Projects.create(
workspace, "my test project", "It's mine.", ["dev", "staging", "prod"]
owner, workspace, "my test project", "It's mine.", ["dev", "staging", "prod"]
)
dev_environment = project.environments[0]