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 Jan 13, 2023
1 parent 0f6bb2d commit 0c731a0
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 0c731a0

Please sign in to comment.