Skip to content

Commit

Permalink
fix(Tests): add IdGen DI
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabing010102 committed Oct 23, 2023
1 parent b7fb2f3 commit e7e5bfd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Grpc.Net.Client;
using IdGen.DependencyInjection;
using Librarian.Angela.Interfaces;
using Librarian.Angela.Providers;
using Librarian.Angela.Services;
Expand Down Expand Up @@ -68,6 +69,8 @@ private void EnsureServer()
dbContext.Database.EnsureDeleted();
dbContext.Database.EnsureCreated();
}
// Add IdGen DI
builder.Services.AddIdGen(GlobalContext.SystemConfig.GeneratorId);
// Add services to the container.
builder.Services.AddGrpc();
builder.Services.AddGrpcReflection();
Expand Down

0 comments on commit e7e5bfd

Please sign in to comment.