Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Gamache committed Jun 20, 2024
1 parent 1c35ee7 commit 7aa2219
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void GivenAllPossibleClassicScopes_WhenCreate_ThenExpectedPermission(Clie
public void GivenInvalidClassicScope_WhenCreate_ThenThrowArgumentException()
{
var scope = (ClientCredentialsScope)999;
Assert.Throws<ArgumentException>(() => new RequireClientCredentialsAttribute(scope));
Assert.Throws<ArgumentOutOfRangeException>(() => new RequireClientCredentialsAttribute(scope));
}

[Fact]
Expand Down

0 comments on commit 7aa2219

Please sign in to comment.