File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Mvc/test/Mvc.FunctionalTests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ public AsyncEnumerableTestBase(MvcTestFixture<StartupWithJsonFormatter> fixture)
2424 public HttpClient Client { get ; }
2525
2626 [ Fact ]
27- public Task AsyncEnumerableReturnedWorks ( ) => AsyncEnumerableWorks ( ) ;
27+ public Task AsyncEnumerableReturnedWorks ( ) => AsyncEnumerableWorks ( "getallprojects" ) ;
2828
2929 [ Fact ]
30- public Task AsyncEnumerableWrappedInTask ( ) => AsyncEnumerableWorks ( ) ;
30+ public Task AsyncEnumerableWrappedInTask ( ) => AsyncEnumerableWorks ( "getallprojectsastask" ) ;
3131
32- private async Task AsyncEnumerableWorks ( )
32+ private async Task AsyncEnumerableWorks ( string action )
3333 {
3434 // Act
35- var response = await Client . GetAsync ( "asyncenumerable/getallprojects " ) ;
35+ var response = await Client . GetAsync ( $ "asyncenumerable/{ action } ") ;
3636
3737 // Assert
3838 await response . AssertStatusCodeAsync ( HttpStatusCode . OK ) ;
You can’t perform that action at this time.
0 commit comments