From c76c5e94189ae1b266dd149a63501dabb6694f7b Mon Sep 17 00:00:00 2001 From: sgladkov Date: Wed, 25 May 2022 15:49:33 +0300 Subject: [PATCH] use other config for test --- test/Lachain.CoreTest/IntegrationTests/MessageSenderTest.cs | 2 +- test/Lachain.CoreTest/IntegrationTests/TransactionsTest.cs | 2 +- test/Lachain.CoreTest/IntegrationTests/ValidatorStatusTests.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Lachain.CoreTest/IntegrationTests/MessageSenderTest.cs b/test/Lachain.CoreTest/IntegrationTests/MessageSenderTest.cs index ba22e7c4a..753679e32 100644 --- a/test/Lachain.CoreTest/IntegrationTests/MessageSenderTest.cs +++ b/test/Lachain.CoreTest/IntegrationTests/MessageSenderTest.cs @@ -47,7 +47,7 @@ public void Setup() { TestUtils.DeleteTestChainData(); var containerBuilder = new SimpleInjectorContainerBuilder(new ConfigManager( - Path.Join(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "config.json"), + Path.Join(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "config2.json"), new RunOptions() )); containerBuilder.RegisterModule(); diff --git a/test/Lachain.CoreTest/IntegrationTests/TransactionsTest.cs b/test/Lachain.CoreTest/IntegrationTests/TransactionsTest.cs index 65d8dfc89..d109a1712 100644 --- a/test/Lachain.CoreTest/IntegrationTests/TransactionsTest.cs +++ b/test/Lachain.CoreTest/IntegrationTests/TransactionsTest.cs @@ -42,7 +42,7 @@ public void Setup() { TestUtils.DeleteTestChainData(); var containerBuilder = new SimpleInjectorContainerBuilder(new ConfigManager( - Path.Join(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "config.json"), + Path.Join(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "config2.json"), new RunOptions() )); containerBuilder.RegisterModule(); diff --git a/test/Lachain.CoreTest/IntegrationTests/ValidatorStatusTests.cs b/test/Lachain.CoreTest/IntegrationTests/ValidatorStatusTests.cs index dd1807a9b..1e379ad92 100644 --- a/test/Lachain.CoreTest/IntegrationTests/ValidatorStatusTests.cs +++ b/test/Lachain.CoreTest/IntegrationTests/ValidatorStatusTests.cs @@ -62,7 +62,7 @@ public void Setup() _container?.Dispose(); TestUtils.DeleteTestChainData(); var containerBuilder = new SimpleInjectorContainerBuilder(new ConfigManager( - Path.Join(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "config.json"), + Path.Join(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "config2.json"), new RunOptions() )); containerBuilder.RegisterModule();