Bonobo.Git.Server.Test.Integration.ClAndWeb.MsysgitIntegrationTests.InitAndPullRepository C# (CSharp) Метод

InitAndPullRepository() приватный Метод

private InitAndPullRepository ( GitInstance git ) : void
git GitInstance
Результат void
        private void InitAndPullRepository(GitInstance git)
        {
            RunGitOnRepo(git, "init").ExpectSuccess();
            RunGitOnRepo(git, String.Format("remote add origin {0}", RepositoryUrlWithCredentials)).ExpectSuccess();
            var result = RunGitOnRepo(git, "pull origin master");

            Assert.AreEqual(String.Format(git.Resources[MsysgitResources.Definition.PullRepositoryError], RepositoryUrlWithoutCredentials), result.StdErr);
        }