File tree Expand file tree Collapse file tree
src/TurboHTTP.Tests/Streams/Stages/Server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ private static TurboHttpContext CreateTestContext(
6262
6363 var services = new ServiceCollection ( )
6464 . AddSingleton ( registry )
65+ . AddSingleton < IReadOnlyActorRegistry > ( registry )
6566 . BuildServiceProvider ( ) ;
6667
6768 var turboTable = new TurboRouteTable ( ) ;
@@ -108,6 +109,7 @@ public async Task Stage_should_return_202_for_tell_route()
108109
109110 var services = new ServiceCollection ( )
110111 . AddSingleton ( registry )
112+ . AddSingleton < IReadOnlyActorRegistry > ( registry )
111113 . BuildServiceProvider ( ) ;
112114
113115 var turboTable = new TurboRouteTable ( ) ;
@@ -136,6 +138,7 @@ public async Task Stage_should_return_504_on_ask_timeout()
136138
137139 var services = new ServiceCollection ( )
138140 . AddSingleton ( registry )
141+ . AddSingleton < IReadOnlyActorRegistry > ( registry )
139142 . BuildServiceProvider ( ) ;
140143
141144 var turboTable = new TurboRouteTable ( ) ;
@@ -164,6 +167,7 @@ public async Task Stage_should_return_500_when_no_response_mapper_found()
164167
165168 var services = new ServiceCollection ( )
166169 . AddSingleton ( registry )
170+ . AddSingleton < IReadOnlyActorRegistry > ( registry )
167171 . BuildServiceProvider ( ) ;
168172
169173 var turboTable = new TurboRouteTable ( ) ;
You can’t perform that action at this time.
0 commit comments