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 committed Jul 14, 2022
1 parent b652e71 commit c76c5e9
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 @@ -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<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 @@ -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<BlockchainModule>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<BlockchainModule>();
Expand Down

0 comments on commit c76c5e9

Please sign in to comment.