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
@@ -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));
}
}