Skip to content

Commit 543abd5

Browse files
committed
Fix warnings
* missing awaits in test code
1 parent 8a81f70 commit 543abd5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CSharp/Rsk.AuthZen.Client.Test/AuthZenClientTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2560,7 +2560,7 @@ public async Task Evaluation_On404AfterRecheckingMetadata_ShouldThrowAuthZenRequ
25602560
await sut.Evaluate(evaluationRequest);
25612561
var act = async () => await sut.Evaluate(evaluationRequest);
25622562

2563-
act.Should().ThrowAsync<AuthZenRequestFailureException>();
2563+
await act.Should().ThrowAsync<AuthZenRequestFailureException>();
25642564

25652565
calls.Should().Be(5);
25662566

@@ -2811,8 +2811,8 @@ public async Task BoxcarEvaluation_On404AfterRecheckingMetadata_ShouldThrowAuthZ
28112811

28122812
await sut.Evaluate(evaluationRequest);
28132813
var act = async () => await sut.Evaluate(evaluationRequest);
2814-
2815-
act.Should().ThrowAsync<AuthZenRequestFailureException>();
2814+
2815+
await act.Should().ThrowAsync<AuthZenRequestFailureException>();
28162816

28172817
calls.Should().Be(5);
28182818

0 commit comments

Comments
 (0)