mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-02-26 17:55:51 +00:00
PublishEvent after StartupContext to try fix integration tests
This commit is contained in:
@@ -130,9 +130,8 @@ namespace NzbDrone.Host
|
||||
c.AutoAddServices(Bootstrap.ASSEMBLIES)
|
||||
.AddNzbDroneLogger()
|
||||
.AddDatabase()
|
||||
.AddStartupContext(context)
|
||||
.Resolve<IEventAggregator>().PublishEvent(new ApplicationStartingEvent());
|
||||
|
||||
c.AddStartupContext(context);
|
||||
})
|
||||
.ConfigureWebHost(builder =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user