using Microsoft.Extensions.Configuration; using Newsbot.Collector.Domain.Consts; using Newsbot.Collector.Services.Jobs; namespace Newsbot.Collector.Tests.Jobs; public class YoutubeWatcherJobTests { [Fact] public void InitTest() { var client = new YoutubeWatcherJob(); client.InitAndExecute(new YoutubeWatcherJobOptions { DatabaseConnectionString = TestHelper.LoadConfig().GetValue(ConfigConst.ConnectionStringDatabase), SleepTimer = 1000 }); } }