feat: Removing accept header previews (#2515)

This commit is contained in:
Chris Simpson
2022-08-01 15:37:23 +01:00
committed by GitHub
parent 840935a8d7
commit 2f7bd00dd6
138 changed files with 954 additions and 1659 deletions
@@ -77,8 +77,7 @@ namespace Octokit.Tests.Clients
connection.Received().Get<List<CheckSuitesResponse>>(
Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/commits/ref/check-suites"),
Args.EmptyDictionary,
"application/vnd.github.antiope-preview+json");
Args.EmptyDictionary);
}
[Fact]
@@ -92,8 +91,7 @@ namespace Octokit.Tests.Clients
connection.Received().Get<List<CheckSuitesResponse>>(
Arg.Is<Uri>(u => u.ToString() == "repositories/1/commits/ref/check-suites"),
Args.EmptyDictionary,
"application/vnd.github.antiope-preview+json");
Args.EmptyDictionary);
}
[Fact]
@@ -115,8 +113,7 @@ namespace Octokit.Tests.Clients
Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/commits/ref/check-suites"),
Arg.Is<Dictionary<string, string>>(x =>
x["app_id"] == "123"
&& x["check_name"] == "build"),
"application/vnd.github.antiope-preview+json");
&& x["check_name"] == "build"));
}
[Fact]
@@ -138,8 +135,7 @@ namespace Octokit.Tests.Clients
Arg.Is<Uri>(u => u.ToString() == "repositories/1/commits/ref/check-suites"),
Arg.Is<Dictionary<string, string>>(x =>
x["app_id"] == "123"
&& x["check_name"] == "build"),
"application/vnd.github.antiope-preview+json");
&& x["check_name"] == "build"));
}
[Fact]