Skip to content

Commit a6101c3

Browse files
authored
fix WebIntegrationTests name (#1894)
1 parent 6d10c2d commit a6101c3

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

test/Sentry.AspNetCore.Tests/VersioningTests.Versioning.verified.txt renamed to test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.verified.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
Category: Microsoft.AspNetCore.Hosting.Diagnostics
3333
},
3434
{
35-
Message: Executing endpoint 'Sentry.AspNetCore.Tests.VersioningTests+VersionController.Method (Sentry.AspNetCore.Tests)',
35+
Message: Executing endpoint 'Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method (Sentry.AspNetCore.Tests)',
3636
Data: {
3737
eventId: ExecutingEndpoint
3838
},
3939
Category: Microsoft.AspNetCore.Routing.EndpointMiddleware
4040
},
4141
{
42-
Message: Route matched with {action = "Method", controller = "Version"}. Executing controller action with signature System.String Method() on controller Sentry.AspNetCore.Tests.VersioningTests+VersionController (Sentry.AspNetCore.Tests).,
42+
Message: Route matched with {action = "Method", controller = "Version"}. Executing controller action with signature System.String Method() on controller Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController (Sentry.AspNetCore.Tests).,
4343
Data: {
4444
eventId: ControllerActionExecuting
4545
},
@@ -53,14 +53,14 @@
5353
Category: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor
5454
},
5555
{
56-
Message: Executed action Sentry.AspNetCore.Tests.VersioningTests+VersionController.Method,
56+
Message: Executed action Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method,
5757
Data: {
5858
eventId: ActionExecuted
5959
},
6060
Category: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker
6161
},
6262
{
63-
Message: Executed endpoint 'Sentry.AspNetCore.Tests.VersioningTests+VersionController.Method (Sentry.AspNetCore.Tests)',
63+
Message: Executed endpoint 'Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method (Sentry.AspNetCore.Tests)',
6464
Data: {
6565
eventId: ExecutedEndpoint
6666
},
@@ -69,7 +69,7 @@
6969
],
7070
Tags: {
7171
ActionId: Guid_1,
72-
ActionName: Sentry.AspNetCore.Tests.VersioningTests+VersionController.Method (Sentry.AspNetCore.Tests),
72+
ActionName: Sentry.AspNetCore.Tests.WebIntegrationTests+VersionController.Method (Sentry.AspNetCore.Tests),
7373
route.action: Method,
7474
route.controller: Version,
7575
route.version: 1.1

test/Sentry.AspNetCore.Tests/WebIntegrationTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
namespace Sentry.AspNetCore.Tests;
1212

1313
[UsesVerify]
14-
public class VersioningTests
14+
public class WebIntegrationTests
1515
{
1616
private readonly TestOutputDiagnosticLogger _logger;
1717

18-
public VersioningTests(ITestOutputHelper output)
18+
public WebIntegrationTests(ITestOutputHelper output)
1919
{
20-
_logger = new TestOutputDiagnosticLogger(output);
20+
_logger = new(output);
2121
}
2222

2323
[Fact]

0 commit comments

Comments
 (0)