mirror of
https://github.com/Readarr/Readarr
synced 2026-01-30 11:23:00 +01:00
PublishEvent after StartupContext to try fix integration tests
This commit is contained in:
parent
d5a74e7064
commit
d3f9474eab
1 changed files with 1 additions and 2 deletions
|
|
@ -130,9 +130,8 @@ public static IHostBuilder CreateConsoleHostBuilder(string[] args, StartupContex
|
|||
c.AutoAddServices(Bootstrap.ASSEMBLIES)
|
||||
.AddNzbDroneLogger()
|
||||
.AddDatabase()
|
||||
.AddStartupContext(context)
|
||||
.Resolve<IEventAggregator>().PublishEvent(new ApplicationStartingEvent());
|
||||
|
||||
c.AddStartupContext(context);
|
||||
})
|
||||
.ConfigureWebHost(builder =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue