diff --git a/tests/domain/test_environments.py b/tests/domain/test_environments.py index e850f2df..4589b179 100644 --- a/tests/domain/test_environments.py +++ b/tests/domain/test_environments.py @@ -15,6 +15,14 @@ from tests.factories import ( ) +@pytest.mark.skip(reason="Reinstate and update once jobs api is up") +def test_create_environments(): + application = ApplicationFactory.create() + environments = Environments.create_many(application, ["Staging", "Production"]) + for env in environments: + assert env.cloud_id is not None + + def test_update_env_role(): env_role = EnvironmentRoleFactory.create(role=CSPRole.BASIC_ACCESS.value) new_role = CSPRole.TECHNICAL_READ.value