public AzureFileRepositoryTests() { _azureFileRepository = new AzureFileRepository( DarioBotConfiguration.Get(DarioBotConfiguration.StorageConnectionStringKey), DarioBotConfiguration.Get(DarioBotConfiguration.RemoteResourcesPathKey), "happydariobottests"); _badAzureFileRepository = new AzureFileRepository( "x", DarioBotConfiguration.Get(DarioBotConfiguration.RemoteResourcesPathKey), "xasxsaxsa"); }
public DarioBotTests() { _darioBot = new DarioBot( DarioBotConfiguration.Get(DarioBotConfiguration.BotTokenKey), DarioBotConfiguration.Get(DarioBotConfiguration.ForwardToIdKey)); _forwardedId = DarioBotConfiguration.Get(DarioBotConfiguration.ForwardToIdKey); _telegramVoiceExample = new TelegramVoice() { fileId = "AwADBAADbQYAAtQHAVMH6C2nlJBQnRYE", file_size = 27277, duration = 3 }; }
public TelegramBotTests() { _botToken = DarioBotConfiguration.Get(DarioBotConfiguration.BotTokenKey); _resourcesPath = DarioBotConfiguration.Get(DarioBotConfiguration.ResourcesPathKey); _telegramBot = new TelegramBot(_botToken); }