Skip to content

Commit

Permalink
resolve test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathanael Shim authored and Nathanael Shim committed Mar 11, 2024
1 parent fb064e9 commit a6a9567
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public void WaitReady_ShouldThrow_WhenReceivedCancelledToken()
{
// Arrange
_fixture.Freeze<Mock<ISubmissionsClient>>()
.Setup(cli => cli.GetAsync(It.IsAny<int>(), default))
.Setup(cli => cli.GetAsync(It.IsAny<int>(), new CancellationToken(true)))
.ReturnsAsync(Mock.Of<ISubmission>(s => s.Status == SubmissionStatus.PROCESSING));
var sut = _fixture.Create<SubmissionResultAwaiter>();

Expand Down

0 comments on commit a6a9567

Please sign in to comment.