public AzureQueueRepositorySpecSetup() { var config = new ConfigurationBuilder().AddJsonFile(@"appsettings.json").Build(); var settings = new NetCoreAppSettings(config); Queueository = AzureQueueStorageRepository.FromSettings(NullRecorder.Instance, settings); AzureStorageAccountBase.InitializeAllTests(); }
public AzureBlobRepositorySpecSetup() { var config = new ConfigurationBuilder().AddJsonFile(@"appsettings.json").Build(); var settings = new NetCoreAppSettings(config); Blobository = AzureBlobStorageRepository.FromSettings(settings); AzureStorageAccountBase.InitializeAllTests(); }
public static void InitializeAllTests(TestContext context) { InitializeAllTests(); var config = new ConfigurationBuilder().AddJsonFile(@"appsettings.json").Build(); var settings = new NetCoreAppSettings(config); repository = AzureTableStorageRepository.FromSettings(settings); AzureStorageAccountBase.InitializeAllTests(context); }