Skip to content

Commit e384df0

Browse files
committed
Fix build error
1 parent b950427 commit e384df0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/Ocelot.UnitTests/Configuration/RoutesCreatorTests.cs

+6-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ public class RoutesCreatorTests
3131
private readonly Mock<ILoadBalancerOptionsCreator> _lboCreator;
3232
private readonly Mock<IRouteKeyCreator> _rrkCreator;
3333
private readonly Mock<ISecurityOptionsCreator> _soCreator;
34-
private readonly Mock<IVersionCreator> _versionCreator;
34+
private readonly Mock<IVersionCreator> _versionCreator;
35+
private readonly Mock<IConnectionCloseCreator> _connectionCloseCreator;
3536
private FileConfiguration _fileConfig;
3637
private RouteOptions _rro;
3738
private string _requestId;
@@ -65,7 +66,8 @@ public RoutesCreatorTests()
6566
_lboCreator = new Mock<ILoadBalancerOptionsCreator>();
6667
_rrkCreator = new Mock<IRouteKeyCreator>();
6768
_soCreator = new Mock<ISecurityOptionsCreator>();
68-
_versionCreator = new Mock<IVersionCreator>();
69+
_versionCreator = new Mock<IVersionCreator>();
70+
_connectionCloseCreator = new Mock<IConnectionCloseCreator>();
6971

7072
_creator = new RoutesCreator(
7173
_cthCreator.Object,
@@ -82,8 +84,8 @@ public RoutesCreatorTests()
8284
_lboCreator.Object,
8385
_rrkCreator.Object,
8486
_soCreator.Object,
85-
_versionCreator.Object
86-
);
87+
_versionCreator.Object,
88+
_connectionCloseCreator.Object);
8789
}
8890

8991
[Fact]

0 commit comments

Comments
 (0)