Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomhurst committed Sep 25, 2023
1 parent bffcbb5 commit 602f3a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Octokit.Tests/Clients/StarredClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ public async Task RequestsCorrectUrlWithTimestampsWithApiOptions()

await client.GetAllStargazersWithTimestamps("fake", "repo", options);

connection.Received().GetAll<UserStar>(endpoint, null, options);
connection.Received().GetAll<UserStar>(endpoint, null, AcceptHeaders.StarJson, options);
}

[Fact]
Expand All @@ -462,7 +462,7 @@ public async Task RequestsCorrectUrlWithTimestampsWithApiOptionsWithRepositoryId

await client.GetAllStargazersWithTimestamps(1, options);

connection.Received().GetAll<UserStar>(endpoint, null, options);
connection.Received().GetAll<UserStar>(endpoint, null, AcceptHeaders.StarJson, options);
}

[Fact]
Expand Down

0 comments on commit 602f3a6

Please sign in to comment.