Bonobo.Git.Server.Test.Integration.ClAndWeb.MsysgitIntegrationTests.RepoAnonPushNoOverridesGlobalSettings C# (CSharp) Method

RepoAnonPushNoOverridesGlobalSettings() private method

private RepoAnonPushNoOverridesGlobalSettings ( ) : void
return void
        public void RepoAnonPushNoOverridesGlobalSettings()
        {
            ForAllGits(git =>
            {
                var repo_id = ITH.CreateRepositoryOnWebInterface(RepositoryName);
                AllowAnonRepoClone(repo_id, true);
                CloneRepoAnon(git, true);
                CreateIdentity(git);
                SetRepoPushTo(repo_id, RepositoryPushMode.No);

                CreateRandomFile(Path.Combine(RepositoryDirectory, "file.txt"), 0);
                RunGitOnRepo(git, "add .");
                RunGitOnRepo(git, "commit -m\"Aw yeah!\"");

                SetGlobalAnonPush(git, true);
                PushFiles(git, false);
            });
        }