Skip to content

Commit fd30f04

Browse files
committed
IDE1006 Naming rule violation: These words must begin with upper case characters: should_*
1 parent bf59460 commit fd30f04

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/Ocelot.AcceptanceTests/CustomMiddlewareTests.cs

+9-9
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public CustomMiddlewareTests()
1919
}
2020

2121
[Fact]
22-
public void should_call_pre_query_string_builder_middleware()
22+
public void Should_call_pre_query_string_builder_middleware()
2323
{
2424
var configuration = new OcelotPipelineConfiguration
2525
{
@@ -64,7 +64,7 @@ public void should_call_pre_query_string_builder_middleware()
6464
}
6565

6666
[Fact]
67-
public void should_call_authorization_middleware()
67+
public void Should_call_authorization_middleware()
6868
{
6969
var configuration = new OcelotPipelineConfiguration
7070
{
@@ -109,7 +109,7 @@ public void should_call_authorization_middleware()
109109
}
110110

111111
[Fact]
112-
public void should_call_authentication_middleware()
112+
public void Should_call_authentication_middleware()
113113
{
114114
var configuration = new OcelotPipelineConfiguration
115115
{
@@ -154,7 +154,7 @@ public void should_call_authentication_middleware()
154154
}
155155

156156
[Fact]
157-
public void should_call_pre_error_middleware()
157+
public void Should_call_pre_error_middleware()
158158
{
159159
var configuration = new OcelotPipelineConfiguration
160160
{
@@ -199,7 +199,7 @@ public void should_call_pre_error_middleware()
199199
}
200200

201201
[Fact]
202-
public void should_call_pre_authorization_middleware()
202+
public void Should_call_pre_authorization_middleware()
203203
{
204204
var configuration = new OcelotPipelineConfiguration
205205
{
@@ -244,7 +244,7 @@ public void should_call_pre_authorization_middleware()
244244
}
245245

246246
[Fact]
247-
public void should_call_after_authorization_middleware()
247+
public void Should_call_after_authorization_middleware()
248248
{
249249
var configuration = new OcelotPipelineConfiguration
250250
{
@@ -289,7 +289,7 @@ public void should_call_after_authorization_middleware()
289289
}
290290

291291
[Fact]
292-
public void should_call_pre_http_authentication_middleware()
292+
public void Should_call_pre_http_authentication_middleware()
293293
{
294294
var configuration = new OcelotPipelineConfiguration
295295
{
@@ -380,7 +380,7 @@ public void should_not_throw_when_pipeline_terminates_early()
380380
}
381381

382382
[Fact]
383-
public void should_call_after_http_authentication_middleware()
383+
public void Should_call_after_http_authentication_middleware()
384384
{
385385
var configuration = new OcelotPipelineConfiguration
386386
{
@@ -425,7 +425,7 @@ public void should_call_after_http_authentication_middleware()
425425
}
426426

427427
[Fact(Skip = "This is just an example to show how you could hook into Ocelot pipeline with your own middleware. At the moment you must use Response.OnCompleted callback and cannot change the response :( I will see if this can be changed one day!")]
428-
public void should_fix_issue_237()
428+
public void Should_fix_issue_237()
429429
{
430430
Func<object, Task> callback = state =>
431431
{

0 commit comments

Comments
 (0)