mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 20:13:40 +00:00
feat: Removing accept header previews (#2515)
This commit is contained in:
@@ -34,8 +34,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
connection.Received().Get<List<Project>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "repos/owner/repo/projects"),
|
||||
Args.EmptyDictionary,
|
||||
"application/vnd.github.inertia-preview+json");
|
||||
Args.EmptyDictionary);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -49,8 +48,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
connection.Received().Get<List<Project>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "repos/owner/repo/projects"),
|
||||
Arg.Is<Dictionary<string, string>>(d => d.ContainsKey("state")),
|
||||
"application/vnd.github.inertia-preview+json");
|
||||
Arg.Is<Dictionary<string, string>>(d => d.ContainsKey("state")));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -64,8 +62,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
connection.Received().Get<List<Project>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "repositories/1/projects"),
|
||||
Args.EmptyDictionary,
|
||||
"application/vnd.github.inertia-preview+json");
|
||||
Args.EmptyDictionary);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -79,8 +76,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
connection.Received().Get<List<Project>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "repositories/1/projects"),
|
||||
Arg.Is<Dictionary<string, string>>(d => d.ContainsKey("state")),
|
||||
"application/vnd.github.inertia-preview+json");
|
||||
Arg.Is<Dictionary<string, string>>(d => d.ContainsKey("state")));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -131,8 +127,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
connection.Received().Get<List<Project>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "orgs/org/projects"),
|
||||
Args.EmptyDictionary,
|
||||
"application/vnd.github.inertia-preview+json");
|
||||
Args.EmptyDictionary);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -146,8 +141,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
connection.Received().Get<List<Project>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "orgs/org/projects"),
|
||||
Arg.Is<Dictionary<string, string>>(d => d.ContainsKey("state")),
|
||||
"application/vnd.github.inertia-preview+json");
|
||||
Arg.Is<Dictionary<string, string>>(d => d.ContainsKey("state")));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user