Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Jul 19, 2023
1 parent 2a7a688 commit a6b1287
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void Apply_HasClaimsAuthorizationRequirements_AddsClaimsToOperation()
this.operationFilter.Apply(this.operation, this.context);

Assert.NotNull(this.operation.Security);
Assert.Equal(1, this.operation.Security.Count);
Assert.Single(this.operation.Security);
Assert.Single(this.operation.Security.First());
Assert.Equal("oauth2", this.operation.Security.First().First().Key.Reference.Id);
Assert.Equal(new string[] { "Type" }, this.operation.Security.First().First().Value);
Expand Down

0 comments on commit a6b1287

Please sign in to comment.