Skip to content

Commit

Permalink
Update test cases;
Browse files Browse the repository at this point in the history
  • Loading branch information
agile.zhou committed Jan 27, 2024
1 parent c052747 commit 406c044
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public static IServiceCollection AddRepositories(this IServiceCollection sc)
throw new ArgumentNullException(nameof(defaultProvider));
}

Console.WriteLine($"default db provider: {defaultProvider.Provider}");

#region add default fixed repositories

GetRepositoryServiceRegister(defaultProvider.Provider).AddFixedRepositories(sc);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ public async Task TestInitialize()
Console.WriteLine("Try get configration data");
var dict = await GetConfigurationData();

foreach (var item in dict)
{
Console.WriteLine($"key: {item.Key} value: {item.Value}");
}

var config = new ConfigurationBuilder()
.AddInMemoryCollection(dict)
.Build();
Expand All @@ -59,6 +64,8 @@ public async Task TestInitialize()

_serverNodeService = _serviceProvider.GetService<IServerNodeService>();

Console.WriteLine($"IServerNodeService type is {_serverNodeService.GetType().FullName}");

Console.WriteLine("Run TestInitialize");
}

Expand Down

0 comments on commit 406c044

Please sign in to comment.