try
continuous-integration/drone/push Build is passing Details

WebAPI
Antoine JOURDAIN 1 year ago
parent 9c7d7ae182
commit bc164e17ee

@ -120,4 +120,9 @@ app.UseAuthorization();
app.MapControllers();
var scope = app.Services.CreateScope();
var services = scope.ServiceProvider;
var context = services.GetRequiredService<StubbedContext>();
context.Database.EnsureCreated();
app.Run();

Loading…
Cancel
Save