File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
src/Http/Http.Extensions/test Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -60,36 +60,6 @@ public void AllowCookieRedirect_ReturnsBuilder()
6060 Assert . Same ( builder , result ) ;
6161 }
6262
63- [ Fact ]
64- public void DisableCookieRedirect_WithMultipleCalls_AddsSingleMetadata ( )
65- {
66- // Arrange
67- var builder = new TestEndpointConventionBuilder ( ) ;
68-
69- // Act
70- builder . DisableCookieRedirect ( ) ;
71- builder . DisableCookieRedirect ( ) ;
72-
73- // Assert
74- Assert . Equal ( 2 , builder . Metadata . Count ) ;
75- Assert . All ( builder . Metadata , metadata => Assert . IsAssignableFrom < IDisableCookieRedirectMetadata > ( metadata ) ) ;
76- }
77-
78- [ Fact ]
79- public void AllowCookieRedirect_WithMultipleCalls_AddsSingleMetadata ( )
80- {
81- // Arrange
82- var builder = new TestEndpointConventionBuilder ( ) ;
83-
84- // Act
85- builder . AllowCookieRedirect ( ) ;
86- builder . AllowCookieRedirect ( ) ;
87-
88- // Assert
89- Assert . Equal ( 2 , builder . Metadata . Count ) ;
90- Assert . All ( builder . Metadata , metadata => Assert . IsAssignableFrom < IAllowCookieRedirectMetadata > ( metadata ) ) ;
91- }
92-
9363 private sealed class TestEndpointConventionBuilder : EndpointBuilder , IEndpointConventionBuilder
9464 {
9565 public void Add ( Action < EndpointBuilder > convention )
You can’t perform that action at this time.
0 commit comments