mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
feat: Removing accept header previews (#2515)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user