Skip to content

Commit bee808c

Browse files
committed
Fix build error
1 parent 3645ef3 commit bee808c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/Ocelot.UnitTests/Configuration/RoutesCreatorTests.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public class RoutesCreatorTests : UnitTest
2424
private readonly Mock<ILoadBalancerOptionsCreator> _lboCreator;
2525
private readonly Mock<IRouteKeyCreator> _rrkCreator;
2626
private readonly Mock<ISecurityOptionsCreator> _soCreator;
27-
private readonly Mock<IVersionCreator> _versionCreator;
27+
private readonly Mock<IVersionCreator> _versionCreator;
28+
private readonly Mock<IConnectionCloseCreator> _connectionCloseCreator;
2829
private FileConfiguration _fileConfig;
2930
private RouteOptions _rro;
3031
private string _requestId;
@@ -58,7 +59,8 @@ public RoutesCreatorTests()
5859
_lboCreator = new Mock<ILoadBalancerOptionsCreator>();
5960
_rrkCreator = new Mock<IRouteKeyCreator>();
6061
_soCreator = new Mock<ISecurityOptionsCreator>();
61-
_versionCreator = new Mock<IVersionCreator>();
62+
_versionCreator = new Mock<IVersionCreator>();
63+
_connectionCloseCreator = new Mock<IConnectionCloseCreator>();
6264

6365
_creator = new RoutesCreator(
6466
_cthCreator.Object,
@@ -75,8 +77,8 @@ public RoutesCreatorTests()
7577
_lboCreator.Object,
7678
_rrkCreator.Object,
7779
_soCreator.Object,
78-
_versionCreator.Object
79-
);
80+
_versionCreator.Object,
81+
_connectionCloseCreator.Object);
8082
}
8183

8284
[Fact]

0 commit comments

Comments
 (0)