Skip to content

Commit a6a9567

Browse files
Nathanael ShimNathanael Shim
authored andcommitted
resolve test
1 parent fb064e9 commit a6a9567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IndicoV2.Tests/Extensions/SubmissionResult/SubmissionResultAwaiterTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public void WaitReady_ShouldThrow_WhenReceivedCancelledToken()
117117
{
118118
// Arrange
119119
_fixture.Freeze<Mock<ISubmissionsClient>>()
120-
.Setup(cli => cli.GetAsync(It.IsAny<int>(), default))
120+
.Setup(cli => cli.GetAsync(It.IsAny<int>(), new CancellationToken(true)))
121121
.ReturnsAsync(Mock.Of<ISubmission>(s => s.Status == SubmissionStatus.PROCESSING));
122122
var sut = _fixture.Create<SubmissionResultAwaiter>();
123123

0 commit comments

Comments
 (0)