File tree 1 file changed +6
-4
lines changed
test/Ocelot.UnitTests/Configuration
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ public class RoutesCreatorTests
31
31
private readonly Mock < ILoadBalancerOptionsCreator > _lboCreator ;
32
32
private readonly Mock < IRouteKeyCreator > _rrkCreator ;
33
33
private readonly Mock < ISecurityOptionsCreator > _soCreator ;
34
- private readonly Mock < IVersionCreator > _versionCreator ;
34
+ private readonly Mock < IVersionCreator > _versionCreator ;
35
+ private readonly Mock < IConnectionCloseCreator > _connectionCloseCreator ;
35
36
private FileConfiguration _fileConfig ;
36
37
private RouteOptions _rro ;
37
38
private string _requestId ;
@@ -65,7 +66,8 @@ public RoutesCreatorTests()
65
66
_lboCreator = new Mock < ILoadBalancerOptionsCreator > ( ) ;
66
67
_rrkCreator = new Mock < IRouteKeyCreator > ( ) ;
67
68
_soCreator = new Mock < ISecurityOptionsCreator > ( ) ;
68
- _versionCreator = new Mock < IVersionCreator > ( ) ;
69
+ _versionCreator = new Mock < IVersionCreator > ( ) ;
70
+ _connectionCloseCreator = new Mock < IConnectionCloseCreator > ( ) ;
69
71
70
72
_creator = new RoutesCreator (
71
73
_cthCreator . Object ,
@@ -82,8 +84,8 @@ public RoutesCreatorTests()
82
84
_lboCreator . Object ,
83
85
_rrkCreator . Object ,
84
86
_soCreator . Object ,
85
- _versionCreator . Object
86
- ) ;
87
+ _versionCreator . Object ,
88
+ _connectionCloseCreator . Object ) ;
87
89
}
88
90
89
91
[ Fact ]
You can’t perform that action at this time.
0 commit comments