From 3998e3a0565194985a832b8e6f5eb83d4fe60af6 Mon Sep 17 00:00:00 2001 From: Tom Longhurst <30480171+thomhurst@users.noreply.github.com> Date: Tue, 26 Sep 2023 00:43:09 +0100 Subject: [PATCH] Fix tests --- Octokit.Tests/Reactive/ObservableStarredClientTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Octokit.Tests/Reactive/ObservableStarredClientTests.cs b/Octokit.Tests/Reactive/ObservableStarredClientTests.cs index cd28b23dea..e67c30b0df 100644 --- a/Octokit.Tests/Reactive/ObservableStarredClientTests.cs +++ b/Octokit.Tests/Reactive/ObservableStarredClientTests.cs @@ -102,7 +102,7 @@ public void RequestsCorrectUrlWithTimestamps() client.GetAllStargazersWithTimestamps("fight", "club"); - connection.Received().Get>(endpoint, Args.EmptyDictionary); + connection.Received().Get>(endpoint, Args.EmptyDictionary, AcceptHeaders.StarJson); } [Fact] @@ -116,7 +116,7 @@ public void RequestsCorrectUrlWithTimestampsWithRepositoryId() client.GetAllStargazersWithTimestamps(1); - connection.Received().Get>(endpoint, Args.EmptyDictionary); + connection.Received().Get>(endpoint, Args.EmptyDictionary, AcceptHeaders.StarJson); } [Fact] @@ -137,7 +137,7 @@ public void RequestsCorrectUrlWithTimestampsWithApiOptions() client.GetAllStargazersWithTimestamps("fight", "club", options); - connection.Received().Get>(endpoint, Arg.Is>(d => d.Count == 2)); + connection.Received().Get>(endpoint, Arg.Is>(d => d.Count == 2), AcceptHeaders.StarJson); } [Fact] @@ -158,7 +158,7 @@ public void RequestsCorrectUrlWithTimestampsWithApiOptionsWithRepositoryId() client.GetAllStargazersWithTimestamps(1, options); - connection.Received().Get>(endpoint, Arg.Is>(d => d.Count == 2)); + connection.Received().Get>(endpoint, Arg.Is>(d => d.Count == 2), AcceptHeaders.StarJson); } [Fact]