Change Environment.creator relation from ApplicationRole to User
This commit is contained in:
@@ -185,6 +185,7 @@ class EnvironmentFactory(Base):
|
||||
|
||||
name = factory.Faker("domain_word")
|
||||
application = factory.SubFactory(ApplicationFactory)
|
||||
creator = factory.SubFactory(UserFactory)
|
||||
|
||||
@classmethod
|
||||
def _create(cls, model_class, *args, **kwargs):
|
||||
|
Reference in New Issue
Block a user