public CloseInactiveSessionsJobTests(ITestOutputHelper output) : base(output) { _job = GetService <CloseInactiveSessionsJob>(); _cache = GetService <ICacheClient>(); _organizationRepository = GetService <IOrganizationRepository>(); _projectRepository = GetService <IProjectRepository>(); _eventRepository = GetService <IEventRepository>(); _userRepository = GetService <UserRepository>(); _pipeline = GetService <EventPipeline>(); CreateDataAsync().GetAwaiter().GetResult(); }
public CloseInactiveSessionsJobTests(ITestOutputHelper output) : base(output) { _job = GetService <CloseInactiveSessionsJob>(); _cache = GetService <ICacheClient>(); _organizationRepository = GetService <IOrganizationRepository>(); _projectRepository = GetService <IProjectRepository>(); _eventRepository = GetService <IEventRepository>(); _userRepository = GetService <IUserRepository>(); _pipeline = GetService <EventPipeline>(); _billingManager = GetService <BillingManager>(); _plans = GetService <BillingPlans>(); }