Remove obsolete members (#1622)

* remove obsolete "Branches" methods from RepositoryClient (all were previuosly moved to RepositoryBranchesClient)

* Remove obsolete DeploymentStatus fields

* Remove obsoleteMergePullRequest.Squash parameter

* Remove obsolete request ctor

* Remove tests

* Not sure how I missed these test references
This commit is contained in:
Ryan Gribble
2017-06-27 08:50:31 +10:00
committed by GitHub
parent 98dfd77142
commit b7ad64d92f
12 changed files with 1 additions and 846 deletions
@@ -1,8 +1,5 @@
using Octokit.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
@@ -22,7 +19,7 @@ namespace Octokit.Tests.Integration.Helpers
var branchFromPath = await fixture.CreateBranch(context.RepositoryOwner, context.RepositoryName, "patch-2", branchFromMaster);
var allBranchNames = (await client.Repository.GetAllBranches(context.RepositoryOwner, context.RepositoryName)).Select(b => b.Name);
var allBranchNames = (await client.Repository.Branch.GetAll(context.RepositoryOwner, context.RepositoryName)).Select(b => b.Name);
Assert.Contains("patch-1", allBranchNames);
Assert.Contains("patch-2", allBranchNames);