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