Exemple #1
0
        public void CanFetchWithMixedUpCasingForTfsServerUrl()
        {
            CloneRepoWithTwoCommits();
            AddNewCommitToFakeTfsServer();
            string tfsUrlInUpperCase = integrationHelper.TfsUrl.ToUpper();

            integrationHelper.ChangeConfigSetting("MyProject", "tfs-remote.default.url", tfsUrlInUpperCase);

            integrationHelper.RunIn("MyProject", "pull");

            Assert.Equal(3, integrationHelper.GetCommitCount("MyProject"));
        }