public FakeOctopusRepository() { var fakeVariableSetRepository = new FakeVariableSetRepository(); var fakeDeploymentProcessRepository = new FakeDeploymentProcessRepository(); var fakeProjectTriggersRepository = new FakeProjectTriggersRepository(); var fakeOctopusClient = new FakeOctopusClient(); MachinePolicies = new FakeMachinePolicyRepository(); DeploymentProcesses = fakeDeploymentProcessRepository; ProjectGroups = new FakeProjectGroupRepository(); VariableSets = fakeVariableSetRepository; LibraryVariableSets = new FakeLibraryVariableSetRepository(fakeVariableSetRepository); Projects = new FakeProjectRepository(fakeVariableSetRepository, fakeDeploymentProcessRepository, fakeProjectTriggersRepository); Lifecycles = new FakeLifecycleRepository(); Environments = new FakeEnvironmentRepository(); MachineRoles = new FakeMachineRoleRepository(); Machines = new FakeMachineRepository(); UserRoles = new FakeUserRolesRepository(); Teams = new FakeTeamsRepository(); Users = new FakeUsersRepository(); ProjectTriggers = fakeProjectTriggersRepository; Channels = new FakeChannelRepository(); TagSets = new FakeTagSetsRepository(); Tenants = new FakeTenantsRepository(); Client = fakeOctopusClient; }
public FakeProjectRepository(FakeVariableSetRepository variableSetRepository, FakeDeploymentProcessRepository deploymentProcessRepository) { _variableSetRepository = variableSetRepository; _deploymentProcessRepository = deploymentProcessRepository; }