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
@@ -86,8 +86,7 @@ namespace Octokit.Tests.Clients
connection.Received().Get<List<Installation>>(
Arg.Is<Uri>(u => u.ToString() == "app/installations"),
Args.EmptyDictionary,
"application/vnd.github.machine-man-preview+json");
Args.EmptyDictionary);
}
[Fact]
@@ -108,8 +107,7 @@ namespace Octokit.Tests.Clients
Arg.Is<Uri>(u => u.ToString() == "app/installations"),
Arg.Is<Dictionary<string, string>>(x =>
x.Count == 1
&& x["per_page"] == "1"),
"application/vnd.github.machine-man-preview+json");
&& x["per_page"] == "1"));
}
}
@@ -140,8 +138,7 @@ namespace Octokit.Tests.Clients
connection.Received().Get<List<InstallationsResponse>>(
Arg.Is<Uri>(u => u.ToString() == "user/installations"),
null,
"application/vnd.github.machine-man-preview+json");
null);
}
[Fact]
@@ -162,8 +159,7 @@ namespace Octokit.Tests.Clients
Arg.Is<Uri>(u => u.ToString() == "user/installations"),
Arg.Is<Dictionary<string, string>>(x =>
x.Count == 1
&& x["per_page"] == "1"),
"application/vnd.github.machine-man-preview+json");
&& x["per_page"] == "1"));
}
}