Skip to content

Commit

Permalink
use other config for test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgladkov authored and tbssajal committed Dec 23, 2022
1 parent c97b5e3 commit d91cb8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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<BlockchainModule>();
Expand Down
2 changes: 1 addition & 1 deletion test/Lachain.CoreTest/IntegrationTests/TransactionsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,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<BlockchainModule>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,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<BlockchainModule>();
Expand Down

0 comments on commit d91cb8c

Please sign in to comment.