public new void SetUp() { const string gitDirectory = "__git__"; _gitDirectory = SolutionItemsBasePath.Combine(gitDirectory); _gitRepositoryProvider = new TestGitRepositoryProvider(gitDirectory); _gitDirectory.CreateDirectory(); }
public new void SetUp() { _solutionPathProvider = new FixedSolutionPathProvider(TestDataPath2.Parent.Parent.Parent); _gitRepositoryProvider = new TestGitRepositoryProvider(); _gitDirectoryPath = TestDataPath2.Parent.Combine(_gitRepositoryProvider.GitDirectoryName); _gitDirectoryPath.CreateDirectory(); _gitDirectoryPath.Combine("config").WriteAllText("https://repository.url/"); _gitDirectoryPath.Combine("HEAD").WriteAllText("my_branch"); }