mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 20:30:41 +00:00
feat: Removing accept header previews (#2515)
This commit is contained in:
@@ -31,8 +31,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
gitHubClient.Connection.Received(1).Get<List<User>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "orgs/org/outside_collaborators"),
|
||||
Args.EmptyDictionary,
|
||||
"application/vnd.github.korra-preview+json");
|
||||
Args.EmptyDictionary);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -52,8 +51,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
gitHubClient.Connection.Received(1).Get<List<User>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "orgs/org/outside_collaborators"),
|
||||
Arg.Is<IDictionary<string, string>>(d => d.Count == 2),
|
||||
"application/vnd.github.korra-preview+json");
|
||||
Arg.Is<IDictionary<string, string>>(d => d.Count == 2));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -87,8 +85,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
gitHubClient.Connection.Received(1).Get<List<User>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "orgs/org/outside_collaborators?filter=all"),
|
||||
Args.EmptyDictionary,
|
||||
"application/vnd.github.korra-preview+json");
|
||||
Args.EmptyDictionary);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -108,8 +105,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
gitHubClient.Connection.Received(1).Get<List<User>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "orgs/org/outside_collaborators?filter=all"),
|
||||
Arg.Is<IDictionary<string, string>>(d => d.Count == 2),
|
||||
"application/vnd.github.korra-preview+json");
|
||||
Arg.Is<IDictionary<string, string>>(d => d.Count == 2));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -122,8 +118,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
gitHubClient.Connection.Received(1).Get<List<User>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "orgs/org/outside_collaborators?filter=2fa_disabled"),
|
||||
Args.EmptyDictionary,
|
||||
"application/vnd.github.korra-preview+json");
|
||||
Args.EmptyDictionary);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -143,8 +138,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
gitHubClient.Connection.Received(1).Get<List<User>>(
|
||||
Arg.Is<Uri>(u => u.ToString() == "orgs/org/outside_collaborators?filter=2fa_disabled"),
|
||||
Arg.Is<IDictionary<string, string>>(d => d.Count == 2),
|
||||
"application/vnd.github.korra-preview+json");
|
||||
Arg.Is<IDictionary<string, string>>(d => d.Count == 2));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user