From fb3a515ba04456eb6637f7823939ac85582e3832 Mon Sep 17 00:00:00 2001 From: Simon G Date: Fri, 13 Nov 2020 17:01:26 +0100 Subject: [PATCH] - fix factory call --- Test.GBase/GBaseTableIntegrationTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Test.GBase/GBaseTableIntegrationTest.cs b/Test.GBase/GBaseTableIntegrationTest.cs index 8d2269f..a22106a 100644 --- a/Test.GBase/GBaseTableIntegrationTest.cs +++ b/Test.GBase/GBaseTableIntegrationTest.cs @@ -27,8 +27,8 @@ namespace Test.GBase IGBaseColumn gBaseColumn = null; Mock gBaseColumnFactoryMock = new Mock(); - gBaseColumnFactoryMock.Setup(c => c.Create(It.IsAny(), It.IsAny())) - .Callback((name, type) => { gBaseColumn = new GBaseColumn(name, type); }) + gBaseColumnFactoryMock.Setup(c => c.Create(It.IsAny(), It.IsAny(), It.IsAny())) + .Callback((name, type, isKey) => { gBaseColumn = new GBaseColumn(name, type, isKey); }) .Returns(gBaseColumn); Mock dataHandlerPoolMock = new Mock();