Skip to content

Commit fe662ef

Browse files
mehyaaraman-m
authored andcommitted
Test names corrected
1 parent ff8512e commit fe662ef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/Ocelot.UnitTests/Infrastructure/ScopesAuthorizerTests.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public ScopesAuthorizerTests()
2121
}
2222

2323
[Fact]
24-
public void Should_return_ok_if_no_allowed_scopes()
24+
public void should_return_ok_if_no_allowed_scopes()
2525
{
2626
this.Given(_ => GivenTheFollowing(new ClaimsPrincipal()))
2727
.And(_ => GivenTheFollowing(new List<string>()))
@@ -31,7 +31,7 @@ public void Should_return_ok_if_no_allowed_scopes()
3131
}
3232

3333
[Fact]
34-
public void Should_return_ok_if_null_allowed_scopes()
34+
public void should_return_ok_if_null_allowed_scopes()
3535
{
3636
this.Given(_ => GivenTheFollowing(new ClaimsPrincipal()))
3737
.And(_ => GivenTheFollowing((List<string>)null))
@@ -41,7 +41,7 @@ public void Should_return_ok_if_null_allowed_scopes()
4141
}
4242

4343
[Fact]
44-
public void Should_return_error_if_claims_parser_returns_error()
44+
public void should_return_error_if_claims_parser_returns_error()
4545
{
4646
var fakeError = new FakeError();
4747
this.Given(_ => GivenTheFollowing(new ClaimsPrincipal()))
@@ -53,7 +53,7 @@ public void Should_return_error_if_claims_parser_returns_error()
5353
}
5454

5555
[Fact]
56-
public void Should_match_scopes_and_return_ok_result()
56+
public void should_match_scopes_and_return_ok_result()
5757
{
5858
var claimsPrincipal = new ClaimsPrincipal();
5959
var allowedScopes = new List<string> { "someScope" };
@@ -67,7 +67,7 @@ public void Should_match_scopes_and_return_ok_result()
6767
}
6868

6969
[Fact]
70-
public void Should_not_match_scopes_and_return_error_result()
70+
public void should_not_match_scopes_and_return_error_result()
7171
{
7272
var fakeError = new FakeError();
7373
var claimsPrincipal = new ClaimsPrincipal();

0 commit comments

Comments
 (0)