This file contains utility functions for creating mock objects used in unit tests. Please try not to put any actual logic in here, that should go in testutil.
(spaceID string, name string)
| 25 | // Please try not to put any actual logic in here, that should go in testutil. |
| 26 | |
| 27 | func NewSpace(spaceID string, name string) *spaces.Space { |
| 28 | result := spaces.NewSpace(name) |
| 29 | result.ID = spaceID |
| 30 | return result |
| 31 | } |
| 32 | |
| 33 | func NewDeploymentProcessForProject(spaceID string, projectID string) *deployments.DeploymentProcess { |
| 34 | result := deployments.NewDeploymentProcess(projectID) |
no outgoing calls