Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
agile.zhou committed May 12, 2024
1 parent 36141d6 commit 245e3a0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public async Task TestInitialize()

var cache = new Mock<IMemoryCache>();
IServiceCollection services = new ServiceCollection();
services.AddLogging();
services.AddScoped(_ => cache.Object);
services.AddSingleton<IConfiguration>(config);
services.AddDbConfigInfoFactory();
Expand Down

0 comments on commit 245e3a0

Please sign in to comment.