From eb551f3b43c485c21b84391b892cc81f8c00aa06 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 21:41:33 +0200 Subject: [PATCH] chore(ci): bump dailydevops/pipelines from 0.12.11 to 0.12.12 (#403) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(ci): bump dailydevops/pipelines from 0.12.11 to 0.12.12 Bumps [dailydevops/pipelines](https://github.com/dailydevops/pipelines) from 0.12.11 to 0.12.12. - [Release notes](https://github.com/dailydevops/pipelines/releases) - [Commits](https://github.com/dailydevops/pipelines/compare/0.12.11...0.12.12) --- updated-dependencies: - dependency-name: dailydevops/pipelines dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * style: updated formatting --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martin Stühmer --- .github/workflows/cicd.yml | 2 +- .../HealthCheckArchitecture.cs | 2 +- .../ConfigurableHealthCheckBaseTests.cs | 2 +- .../KafkaCheck.cs | 2 +- .../KafkaCheckTests.cs | 30 ++++++++-------- .../KafkaCheckTests.cs | 4 +-- .../KafkaConfigureTests.cs | 4 +-- .../BlobClientCreationMode.cs | 2 +- .../BlobContainerAvailableConfigure.cs | 5 +-- .../BlobServiceAvailableConfigure.cs | 5 +-- .../BlobContainerAvailableConfigureTests.cs | 34 +++++++++---------- .../BlobServiceAvailableConfigureTests.cs | 24 ++++++------- .../QueueClientAvailableConfigure.cs | 5 +-- .../QueueClientCreationMode.cs | 2 +- .../QueueServiceAvailableConfigure.cs | 5 +-- .../QueueClientAvailableConfigureTests.cs | 34 +++++++++---------- .../QueueServiceAvailableConfigureTests.cs | 26 +++++++------- .../TableClientAvailableConfigure.cs | 5 +-- .../TableClientCreationMode.cs | 2 +- .../TableServiceAvailableConfigure.cs | 5 +-- .../TableClientAvailableConfigureTests.cs | 34 +++++++++---------- .../TableServiceAvailableConfigureTests.cs | 26 +++++++------- .../ClickHouseCheckTests.cs | 8 ++--- .../ClickHouseCheckTests.cs | 4 +-- .../MySqlCheckTests.cs | 8 ++--- .../MySqlCheckTests.cs | 4 +-- .../MySqlCheckTests.cs | 8 ++--- .../MySqlCheckTests.cs | 4 +-- .../NpgsqlCheckTests.cs | 8 ++--- .../NpgsqlCheckTests.cs | 4 +-- .../OracleCheckTests.cs | 8 ++--- .../OracleCheckTests.cs | 4 +-- .../ConnectionHandleMode.cs | 2 +- .../RedisDatabaseCheckTests.cs | 8 ++--- .../RedisDatabaseCheckTests.cs | 4 +-- .../RedisDatabaseConfigureTests.cs | 2 +- .../RedpandaCheck.cs | 2 +- .../RedpandaCheckTests.cs | 30 ++++++++-------- .../RedpandaCheckTests.cs | 4 +-- .../RedpandaConfigureTests.cs | 4 +-- .../SQLiteCheckTests.cs | 8 ++--- .../SQLiteCheckTests.cs | 4 +-- .../SqlEdgeCheckTests.cs | 8 ++--- .../SqlEdgeCheckTests.cs | 4 +-- .../SqlServerLegacyCheckTests.cs | 8 ++--- .../SqlServerCheckTests.cs | 4 +-- .../SqlServerOptionsConfigureTests.cs | 4 +-- .../SqlServerCheckTests.cs | 8 ++--- .../SqlServerCheckTests.cs | 4 +-- .../ApplicationReadinessCheckTests.cs | 6 ++-- .../ApplicationSelfCheckTests.cs | 4 +-- 51 files changed, 222 insertions(+), 216 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index fee8f3c4..158a5b66 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -21,7 +21,7 @@ on: jobs: all: name: Build & Tests - uses: dailydevops/pipelines/.github/workflows/cicd-dotnet.yml@0.12.11 + uses: dailydevops/pipelines/.github/workflows/cicd-dotnet.yml@0.12.12 with: enableCleanUpDockerDocker: true enableSonarQube: true diff --git a/src/HealthChecks.Abstractions/tests/NetEvolve.HealthChecks.Abstractions.Tests.Architecture/HealthCheckArchitecture.cs b/src/HealthChecks.Abstractions/tests/NetEvolve.HealthChecks.Abstractions.Tests.Architecture/HealthCheckArchitecture.cs index 63bfd94f..35b1e2e5 100644 --- a/src/HealthChecks.Abstractions/tests/NetEvolve.HealthChecks.Abstractions.Tests.Architecture/HealthCheckArchitecture.cs +++ b/src/HealthChecks.Abstractions/tests/NetEvolve.HealthChecks.Abstractions.Tests.Architecture/HealthCheckArchitecture.cs @@ -50,7 +50,7 @@ private static Architecture LoadArchitecture() typeof(SqlEdgeCheck).Assembly, typeof(SQLiteCheck).Assembly, typeof(SqlServerCheck).Assembly, - typeof(SqlServerLegacyCheck).Assembly + typeof(SqlServerLegacyCheck).Assembly, ]; var architecture = new ArchLoader() .LoadAssembliesRecursively( diff --git a/src/HealthChecks.Abstractions/tests/NetEvolve.HealthChecks.Abstractions.Tests.Unit/ConfigurableHealthCheckBaseTests.cs b/src/HealthChecks.Abstractions/tests/NetEvolve.HealthChecks.Abstractions.Tests.Unit/ConfigurableHealthCheckBaseTests.cs index e5396e6f..e00673b7 100644 --- a/src/HealthChecks.Abstractions/tests/NetEvolve.HealthChecks.Abstractions.Tests.Unit/ConfigurableHealthCheckBaseTests.cs +++ b/src/HealthChecks.Abstractions/tests/NetEvolve.HealthChecks.Abstractions.Tests.Unit/ConfigurableHealthCheckBaseTests.cs @@ -30,7 +30,7 @@ public async Task InternalAsync_SomethingHappens_ReturnsUnhealthy() var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("test", check, null, null) + Registration = new HealthCheckRegistration("test", check, null, null), }; // Act diff --git a/src/HealthChecks.Apache.Kafka/src/NetEvolve.HealthChecks.Apache.Kafka/KafkaCheck.cs b/src/HealthChecks.Apache.Kafka/src/NetEvolve.HealthChecks.Apache.Kafka/KafkaCheck.cs index 25f69aed..9deba1c9 100644 --- a/src/HealthChecks.Apache.Kafka/src/NetEvolve.HealthChecks.Apache.Kafka/KafkaCheck.cs +++ b/src/HealthChecks.Apache.Kafka/src/NetEvolve.HealthChecks.Apache.Kafka/KafkaCheck.cs @@ -19,7 +19,7 @@ internal sealed class KafkaCheck : ConfigurableHealthCheckBase private static readonly Message _message = new Message() { Key = "HealthCheck", - Value = "HealthCheck" + Value = "HealthCheck", }; public KafkaCheck( diff --git a/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Integration/KafkaCheckTests.cs b/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Integration/KafkaCheckTests.cs index a0ba6169..1656ceda 100644 --- a/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Integration/KafkaCheckTests.cs +++ b/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Integration/KafkaCheckTests.cs @@ -57,7 +57,7 @@ await RunAndVerify( { var config = new ProducerConfig { - BootstrapServers = _database.BootstrapAddress + BootstrapServers = _database.BootstrapAddress, }; return new ProducerBuilder(config).Build(); @@ -82,7 +82,7 @@ await RunAndVerify( }, { "HealthChecks:Kafka:TestContainerHealthy:Timeout", "5000" }, { "HealthChecks:Kafka:TestContainerHealthy:Topic", "TestContainerHealthy" }, - { "HealthChecks:Kafka:TestContainerHealthy:Mode", "Create" } + { "HealthChecks:Kafka:TestContainerHealthy:Mode", "Create" }, }; _ = config.AddInMemoryCollection(values); } @@ -105,7 +105,7 @@ await RunAndVerify( }, { "HealthChecks:Kafka:TestContainerHealthy:Timeout", "5000" }, { "HealthChecks:Kafka:TestContainerHealthy:Topic", "TestContainerHealthy" }, - { "HealthChecks:Kafka:TestContainerHealthy:Mode", "ServiceProvider" } + { "HealthChecks:Kafka:TestContainerHealthy:Mode", "ServiceProvider" }, }; _ = config.AddInMemoryCollection(values); }, @@ -115,7 +115,7 @@ await RunAndVerify( { var config = new ProducerConfig { - BootstrapServers = _database.BootstrapAddress + BootstrapServers = _database.BootstrapAddress, }; return new ProducerBuilder(config).Build(); @@ -134,7 +134,7 @@ await RunAndVerify(healthChecks => options.Configuration = new() { BootstrapServers = _database.BootstrapAddress, - EnableDeliveryReports = false + EnableDeliveryReports = false, }; options.Mode = ProducerHandleMode.Create; options.Timeout = 5000; @@ -164,7 +164,7 @@ await RunAndVerify( }, { "HealthChecks:Kafka:TestContainerHealthy:Timeout", "5000" }, { "HealthChecks:Kafka:TestContainerHealthy:Topic", "TestContainerHealthy" }, - { "HealthChecks:Kafka:TestContainerHealthy:Mode", "Create" } + { "HealthChecks:Kafka:TestContainerHealthy:Mode", "Create" }, }; _ = config.AddInMemoryCollection(values); } @@ -207,7 +207,7 @@ await RunAndVerify( { var config = new ProducerConfig { - BootstrapServers = _database.BootstrapAddress + BootstrapServers = _database.BootstrapAddress, }; return new ProducerBuilder(config).Build(); @@ -232,7 +232,7 @@ await RunAndVerify( }, { "HealthChecks:Kafka:TestContainerDegraded:Timeout", "0" }, { "HealthChecks:Kafka:TestContainerDegraded:Topic", "TestContainerDegraded" }, - { "HealthChecks:Kafka:TestContainerDegraded:Mode", "Create" } + { "HealthChecks:Kafka:TestContainerDegraded:Mode", "Create" }, }; _ = config.AddInMemoryCollection(values); } @@ -255,7 +255,7 @@ await RunAndVerify( }, { "HealthChecks:Kafka:TestContainerDegraded:Timeout", "0" }, { "HealthChecks:Kafka:TestContainerDegraded:Topic", "TestContainerDegraded" }, - { "HealthChecks:Kafka:TestContainerDegraded:Mode", "ServiceProvider" } + { "HealthChecks:Kafka:TestContainerDegraded:Mode", "ServiceProvider" }, }; _ = config.AddInMemoryCollection(values); }, @@ -265,7 +265,7 @@ await RunAndVerify( { var config = new ProducerConfig { - BootstrapServers = _database.BootstrapAddress + BootstrapServers = _database.BootstrapAddress, }; return new ProducerBuilder(config).Build(); @@ -284,7 +284,7 @@ await RunAndVerify(healthChecks => options.Configuration = new() { BootstrapServers = _database.BootstrapAddress, - EnableDeliveryReports = false + EnableDeliveryReports = false, }; options.Mode = ProducerHandleMode.Create; options.Timeout = 0; @@ -314,7 +314,7 @@ await RunAndVerify( }, { "HealthChecks:Kafka:TestContainerDegraded:Timeout", "0" }, { "HealthChecks:Kafka:TestContainerDegraded:Topic", "TestContainerDegraded" }, - { "HealthChecks:Kafka:TestContainerDegraded:Mode", "Create" } + { "HealthChecks:Kafka:TestContainerDegraded:Mode", "Create" }, }; _ = config.AddInMemoryCollection(values); } @@ -331,7 +331,7 @@ await RunAndVerify(healthChecks => options.Configuration = new() { BootstrapServers = _database.BootstrapAddress, - SocketTimeoutMs = 0 + SocketTimeoutMs = 0, }; options.Mode = ProducerHandleMode.Create; options.Topic = "TestContainerUnhealty"; @@ -360,7 +360,7 @@ await RunAndVerify( var config = new ProducerConfig { BootstrapServers = _database.BootstrapAddress, - SocketTimeoutMs = 0 + SocketTimeoutMs = 0, }; return new ProducerBuilder(config).Build(); @@ -424,7 +424,7 @@ await RunAndVerify(healthChecks => options.Configuration = new() { BootstrapServers = _database.BootstrapAddress, - EnableDeliveryReports = false + EnableDeliveryReports = false, }; options.Mode = ProducerHandleMode.Create; options.Topic = "TestContainerUnhealty"; diff --git a/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Unit/KafkaCheckTests.cs b/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Unit/KafkaCheckTests.cs index 43363897..965a31d5 100644 --- a/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Unit/KafkaCheckTests.cs +++ b/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Unit/KafkaCheckTests.cs @@ -38,7 +38,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new KafkaCheck(serviceProvider, optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -59,7 +59,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new KafkaCheck(serviceProvider, optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Unit/KafkaConfigureTests.cs b/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Unit/KafkaConfigureTests.cs index ef09354b..b104a3b5 100644 --- a/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Unit/KafkaConfigureTests.cs +++ b/src/HealthChecks.Apache.Kafka/tests/NetEvolve.HealthChecks.Apache.Kafka.Tests.Unit/KafkaConfigureTests.cs @@ -85,7 +85,7 @@ public void Validate_WhenModeCreateAndBootstrapServerEmpty_ThrowArgumentExceptio { Topic = "Test", Mode = ProducerHandleMode.Create, - Configuration = new ProducerConfig() + Configuration = new ProducerConfig(), }; // Act @@ -109,7 +109,7 @@ public void Validate_EverythingCorrect_Expected() { Topic = "Test", Mode = ProducerHandleMode.Create, - Configuration = new ProducerConfig { BootstrapServers = "localhost:9092" } + Configuration = new ProducerConfig { BootstrapServers = "localhost:9092" }, }; // Act diff --git a/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobClientCreationMode.cs b/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobClientCreationMode.cs index a1927448..053808f3 100644 --- a/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobClientCreationMode.cs +++ b/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobClientCreationMode.cs @@ -33,5 +33,5 @@ public enum BlobClientCreationMode /// /// The is created using the . /// - AzureSasCredential = 4 + AzureSasCredential = 4, } diff --git a/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobContainerAvailableConfigure.cs b/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobContainerAvailableConfigure.cs index adb4fac0..49628ea3 100644 --- a/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobContainerAvailableConfigure.cs +++ b/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobContainerAvailableConfigure.cs @@ -62,8 +62,9 @@ public ValidateOptionsResult Validate(string? name, BlobContainerAvailableOption { BlobClientCreationMode.ServiceProvider => ValidateModeServiceProvider(), BlobClientCreationMode.ConnectionString => ValidateModeConnectionString(options), - BlobClientCreationMode.DefaultAzureCredentials - => ValidateModeDefaultAzureCredentials(options), + BlobClientCreationMode.DefaultAzureCredentials => ValidateModeDefaultAzureCredentials( + options + ), BlobClientCreationMode.SharedKey => ValidateModeSharedKey(options), BlobClientCreationMode.AzureSasCredential => ValidateModeAzureSasCredential(options), _ => Fail($"The mode `{mode}` is not supported."), diff --git a/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobServiceAvailableConfigure.cs b/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobServiceAvailableConfigure.cs index 80618068..141e893b 100644 --- a/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobServiceAvailableConfigure.cs +++ b/src/HealthChecks.Azure.Blobs/src/NetEvolve.HealthChecks.Azure.Blobs/BlobServiceAvailableConfigure.cs @@ -57,8 +57,9 @@ public ValidateOptionsResult Validate(string? name, BlobServiceAvailableOptions { BlobClientCreationMode.ServiceProvider => ValidateModeServiceProvider(), BlobClientCreationMode.ConnectionString => ValidateModeConnectionString(options), - BlobClientCreationMode.DefaultAzureCredentials - => ValidateModeDefaultAzureCredentials(options), + BlobClientCreationMode.DefaultAzureCredentials => ValidateModeDefaultAzureCredentials( + options + ), BlobClientCreationMode.SharedKey => ValidateModeSharedKey(options), BlobClientCreationMode.AzureSasCredential => ValidateModeAzureSasCredential(options), _ => Fail($"The mode `{mode}` is not supported."), diff --git a/src/HealthChecks.Azure.Blobs/tests/NetEvolve.HealthChecks.Azure.Blobs.Tests.Unit/BlobContainerAvailableConfigureTests.cs b/src/HealthChecks.Azure.Blobs/tests/NetEvolve.HealthChecks.Azure.Blobs.Tests.Unit/BlobContainerAvailableConfigureTests.cs index a436cf95..c5d1a488 100644 --- a/src/HealthChecks.Azure.Blobs/tests/NetEvolve.HealthChecks.Azure.Blobs.Tests.Unit/BlobContainerAvailableConfigureTests.cs +++ b/src/HealthChecks.Azure.Blobs/tests/NetEvolve.HealthChecks.Azure.Blobs.Tests.Unit/BlobContainerAvailableConfigureTests.cs @@ -83,7 +83,7 @@ public static TheoryData< new BlobContainerAvailableOptions { Mode = (BlobClientCreationMode)13, - ContainerName = "test" + ContainerName = "test", } }, // Mode: ServiceProvider @@ -94,7 +94,7 @@ public static TheoryData< new BlobContainerAvailableOptions { Mode = BlobClientCreationMode.ServiceProvider, - ContainerName = "test" + ContainerName = "test", } }, // Mode: DefaultAzureCredentials @@ -105,7 +105,7 @@ public static TheoryData< new BlobContainerAvailableOptions { Mode = BlobClientCreationMode.DefaultAzureCredentials, - ContainerName = "test" + ContainerName = "test", } }, { @@ -116,7 +116,7 @@ public static TheoryData< { ContainerName = "test", Mode = BlobClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -127,7 +127,7 @@ public static TheoryData< { ContainerName = "test", Mode = BlobClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("https://example.com", UriKind.Absolute) + ServiceUri = new Uri("https://example.com", UriKind.Absolute), } }, // Mode: ConnectionString @@ -138,7 +138,7 @@ public static TheoryData< new BlobContainerAvailableOptions { ContainerName = "test", - Mode = BlobClientCreationMode.ConnectionString + Mode = BlobClientCreationMode.ConnectionString, } }, { @@ -149,7 +149,7 @@ public static TheoryData< { ContainerName = "test", Mode = BlobClientCreationMode.ConnectionString, - ConnectionString = "connectionString" + ConnectionString = "connectionString", } }, // Mode: SharedKey @@ -160,7 +160,7 @@ public static TheoryData< new BlobContainerAvailableOptions { ContainerName = "test", - Mode = BlobClientCreationMode.SharedKey + Mode = BlobClientCreationMode.SharedKey, } }, { @@ -171,7 +171,7 @@ public static TheoryData< { ContainerName = "test", Mode = BlobClientCreationMode.SharedKey, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -183,7 +183,7 @@ public static TheoryData< ContainerName = "test", Mode = BlobClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), - AccountName = null + AccountName = null, } }, { @@ -196,7 +196,7 @@ public static TheoryData< Mode = BlobClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = null + AccountKey = null, } }, { @@ -209,7 +209,7 @@ public static TheoryData< Mode = BlobClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = "test" + AccountKey = "test", } }, // Mode: AzureSasCredential @@ -220,7 +220,7 @@ public static TheoryData< new BlobContainerAvailableOptions { ContainerName = "test", - Mode = BlobClientCreationMode.AzureSasCredential + Mode = BlobClientCreationMode.AzureSasCredential, } }, { @@ -231,7 +231,7 @@ public static TheoryData< { ContainerName = "test", Mode = BlobClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -242,7 +242,7 @@ public static TheoryData< { ContainerName = "test", Mode = BlobClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute", UriKind.Absolute) + ServiceUri = new Uri("https://absolute", UriKind.Absolute), } }, { @@ -253,9 +253,9 @@ public static TheoryData< { ContainerName = "test", Mode = BlobClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute) + ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute), } - } + }, }; return data; diff --git a/src/HealthChecks.Azure.Blobs/tests/NetEvolve.HealthChecks.Azure.Blobs.Tests.Unit/BlobServiceAvailableConfigureTests.cs b/src/HealthChecks.Azure.Blobs/tests/NetEvolve.HealthChecks.Azure.Blobs.Tests.Unit/BlobServiceAvailableConfigureTests.cs index 2c945471..0b9ee4ec 100644 --- a/src/HealthChecks.Azure.Blobs/tests/NetEvolve.HealthChecks.Azure.Blobs.Tests.Unit/BlobServiceAvailableConfigureTests.cs +++ b/src/HealthChecks.Azure.Blobs/tests/NetEvolve.HealthChecks.Azure.Blobs.Tests.Unit/BlobServiceAvailableConfigureTests.cs @@ -90,7 +90,7 @@ public static TheoryData< "name", new BlobServiceAvailableOptions { - Mode = BlobClientCreationMode.DefaultAzureCredentials + Mode = BlobClientCreationMode.DefaultAzureCredentials, } }, { @@ -100,7 +100,7 @@ public static TheoryData< new BlobServiceAvailableOptions { Mode = BlobClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -110,7 +110,7 @@ public static TheoryData< new BlobServiceAvailableOptions { Mode = BlobClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("https://example.com", UriKind.Absolute) + ServiceUri = new Uri("https://example.com", UriKind.Absolute), } }, // Mode: ConnectionString @@ -127,7 +127,7 @@ public static TheoryData< new BlobServiceAvailableOptions { Mode = BlobClientCreationMode.ConnectionString, - ConnectionString = "connectionString" + ConnectionString = "connectionString", } }, // Mode: SharedKey @@ -144,7 +144,7 @@ public static TheoryData< new BlobServiceAvailableOptions { Mode = BlobClientCreationMode.SharedKey, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -155,7 +155,7 @@ public static TheoryData< { Mode = BlobClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), - AccountName = null + AccountName = null, } }, { @@ -167,7 +167,7 @@ public static TheoryData< Mode = BlobClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = null + AccountKey = null, } }, { @@ -179,7 +179,7 @@ public static TheoryData< Mode = BlobClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = "test" + AccountKey = "test", } }, // Mode: AzureSasCredential @@ -196,7 +196,7 @@ public static TheoryData< new BlobServiceAvailableOptions { Mode = BlobClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -206,7 +206,7 @@ public static TheoryData< new BlobServiceAvailableOptions { Mode = BlobClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute", UriKind.Absolute) + ServiceUri = new Uri("https://absolute", UriKind.Absolute), } }, { @@ -216,9 +216,9 @@ public static TheoryData< new BlobServiceAvailableOptions { Mode = BlobClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute) + ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute), } - } + }, }; return data; diff --git a/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueClientAvailableConfigure.cs b/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueClientAvailableConfigure.cs index 047537b4..cd2eb372 100644 --- a/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueClientAvailableConfigure.cs +++ b/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueClientAvailableConfigure.cs @@ -62,8 +62,9 @@ public ValidateOptionsResult Validate(string? name, QueueClientAvailableOptions { QueueClientCreationMode.ServiceProvider => ValidateModeServiceProvider(), QueueClientCreationMode.ConnectionString => ValidateModeConnectionString(options), - QueueClientCreationMode.DefaultAzureCredentials - => ValidateModeDefaultAzureCredentials(options), + QueueClientCreationMode.DefaultAzureCredentials => ValidateModeDefaultAzureCredentials( + options + ), QueueClientCreationMode.SharedKey => ValidateModeSharedKey(options), QueueClientCreationMode.AzureSasCredential => ValidateModeAzureSasCredential(options), _ => Fail($"The mode `{mode}` is not supported."), diff --git a/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueClientCreationMode.cs b/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueClientCreationMode.cs index c83bb351..4b7fcdfb 100644 --- a/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueClientCreationMode.cs +++ b/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueClientCreationMode.cs @@ -33,5 +33,5 @@ public enum QueueClientCreationMode /// /// The is created using the . /// - AzureSasCredential = 4 + AzureSasCredential = 4, } diff --git a/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueServiceAvailableConfigure.cs b/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueServiceAvailableConfigure.cs index 7c89d4d8..8005ce11 100644 --- a/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueServiceAvailableConfigure.cs +++ b/src/HealthChecks.Azure.Queues/src/NetEvolve.HealthChecks.Azure.Queues/QueueServiceAvailableConfigure.cs @@ -57,8 +57,9 @@ public ValidateOptionsResult Validate(string? name, QueueServiceAvailableOptions { QueueClientCreationMode.ServiceProvider => ValidateModeServiceProvider(), QueueClientCreationMode.ConnectionString => ValidateModeConnectionString(options), - QueueClientCreationMode.DefaultAzureCredentials - => ValidateModeDefaultAzureCredentials(options), + QueueClientCreationMode.DefaultAzureCredentials => ValidateModeDefaultAzureCredentials( + options + ), QueueClientCreationMode.SharedKey => ValidateModeSharedKey(options), QueueClientCreationMode.AzureSasCredential => ValidateModeAzureSasCredential(options), _ => Fail($"The mode `{mode}` is not supported."), diff --git a/src/HealthChecks.Azure.Queues/tests/NetEvolve.HealthChecks.Azure.Queues.Tests.Unit/QueueClientAvailableConfigureTests.cs b/src/HealthChecks.Azure.Queues/tests/NetEvolve.HealthChecks.Azure.Queues.Tests.Unit/QueueClientAvailableConfigureTests.cs index c81693d2..890e2df9 100644 --- a/src/HealthChecks.Azure.Queues/tests/NetEvolve.HealthChecks.Azure.Queues.Tests.Unit/QueueClientAvailableConfigureTests.cs +++ b/src/HealthChecks.Azure.Queues/tests/NetEvolve.HealthChecks.Azure.Queues.Tests.Unit/QueueClientAvailableConfigureTests.cs @@ -82,7 +82,7 @@ public static TheoryData< new QueueClientAvailableOptions { Mode = (QueueClientCreationMode)13, - QueueName = "test" + QueueName = "test", } }, // Mode: ServiceProvider @@ -93,7 +93,7 @@ public static TheoryData< new QueueClientAvailableOptions { Mode = QueueClientCreationMode.ServiceProvider, - QueueName = "test" + QueueName = "test", } }, // Mode: DefaultAzureCredentials @@ -104,7 +104,7 @@ public static TheoryData< new QueueClientAvailableOptions { Mode = QueueClientCreationMode.DefaultAzureCredentials, - QueueName = "test" + QueueName = "test", } }, { @@ -115,7 +115,7 @@ public static TheoryData< { QueueName = "test", Mode = QueueClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -126,7 +126,7 @@ public static TheoryData< { QueueName = "test", Mode = QueueClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("https://example.com", UriKind.Absolute) + ServiceUri = new Uri("https://example.com", UriKind.Absolute), } }, // Mode: ConnectionString @@ -137,7 +137,7 @@ public static TheoryData< new QueueClientAvailableOptions { QueueName = "test", - Mode = QueueClientCreationMode.ConnectionString + Mode = QueueClientCreationMode.ConnectionString, } }, { @@ -148,7 +148,7 @@ public static TheoryData< { QueueName = "test", Mode = QueueClientCreationMode.ConnectionString, - ConnectionString = "connectionString" + ConnectionString = "connectionString", } }, // Mode: SharedKey @@ -159,7 +159,7 @@ public static TheoryData< new QueueClientAvailableOptions { QueueName = "test", - Mode = QueueClientCreationMode.SharedKey + Mode = QueueClientCreationMode.SharedKey, } }, { @@ -170,7 +170,7 @@ public static TheoryData< { QueueName = "test", Mode = QueueClientCreationMode.SharedKey, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -182,7 +182,7 @@ public static TheoryData< QueueName = "test", Mode = QueueClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), - AccountName = null + AccountName = null, } }, { @@ -195,7 +195,7 @@ public static TheoryData< Mode = QueueClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = null + AccountKey = null, } }, { @@ -208,7 +208,7 @@ public static TheoryData< Mode = QueueClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = "test" + AccountKey = "test", } }, // Mode: AzureSasCredential @@ -219,7 +219,7 @@ public static TheoryData< new QueueClientAvailableOptions { QueueName = "test", - Mode = QueueClientCreationMode.AzureSasCredential + Mode = QueueClientCreationMode.AzureSasCredential, } }, { @@ -230,7 +230,7 @@ public static TheoryData< { QueueName = "test", Mode = QueueClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -241,7 +241,7 @@ public static TheoryData< { QueueName = "test", Mode = QueueClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute", UriKind.Absolute) + ServiceUri = new Uri("https://absolute", UriKind.Absolute), } }, { @@ -252,9 +252,9 @@ public static TheoryData< { QueueName = "test", Mode = QueueClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute) + ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute), } - } + }, }; return data; diff --git a/src/HealthChecks.Azure.Queues/tests/NetEvolve.HealthChecks.Azure.Queues.Tests.Unit/QueueServiceAvailableConfigureTests.cs b/src/HealthChecks.Azure.Queues/tests/NetEvolve.HealthChecks.Azure.Queues.Tests.Unit/QueueServiceAvailableConfigureTests.cs index 24c5462e..4fb37bcc 100644 --- a/src/HealthChecks.Azure.Queues/tests/NetEvolve.HealthChecks.Azure.Queues.Tests.Unit/QueueServiceAvailableConfigureTests.cs +++ b/src/HealthChecks.Azure.Queues/tests/NetEvolve.HealthChecks.Azure.Queues.Tests.Unit/QueueServiceAvailableConfigureTests.cs @@ -89,7 +89,7 @@ public static TheoryData< "name", new QueueServiceAvailableOptions { - Mode = QueueClientCreationMode.DefaultAzureCredentials + Mode = QueueClientCreationMode.DefaultAzureCredentials, } }, { @@ -99,7 +99,7 @@ public static TheoryData< new QueueServiceAvailableOptions { Mode = QueueClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -109,7 +109,7 @@ public static TheoryData< new QueueServiceAvailableOptions { Mode = QueueClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("https://example.com", UriKind.Absolute) + ServiceUri = new Uri("https://example.com", UriKind.Absolute), } }, // Mode: ConnectionString @@ -126,7 +126,7 @@ public static TheoryData< new QueueServiceAvailableOptions { Mode = QueueClientCreationMode.ConnectionString, - ConnectionString = "connectionString" + ConnectionString = "connectionString", } }, // Mode: SharedKey @@ -143,7 +143,7 @@ public static TheoryData< new QueueServiceAvailableOptions { Mode = QueueClientCreationMode.SharedKey, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -154,7 +154,7 @@ public static TheoryData< { Mode = QueueClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), - AccountName = null + AccountName = null, } }, { @@ -166,7 +166,7 @@ public static TheoryData< Mode = QueueClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = null + AccountKey = null, } }, { @@ -178,7 +178,7 @@ public static TheoryData< Mode = QueueClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = "test" + AccountKey = "test", } }, // Mode: AzureSasCredential @@ -188,7 +188,7 @@ public static TheoryData< "name", new QueueServiceAvailableOptions { - Mode = QueueClientCreationMode.AzureSasCredential + Mode = QueueClientCreationMode.AzureSasCredential, } }, { @@ -198,7 +198,7 @@ public static TheoryData< new QueueServiceAvailableOptions { Mode = QueueClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -208,7 +208,7 @@ public static TheoryData< new QueueServiceAvailableOptions { Mode = QueueClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute", UriKind.Absolute) + ServiceUri = new Uri("https://absolute", UriKind.Absolute), } }, { @@ -218,9 +218,9 @@ public static TheoryData< new QueueServiceAvailableOptions { Mode = QueueClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute) + ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute), } - } + }, }; return data; diff --git a/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableClientAvailableConfigure.cs b/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableClientAvailableConfigure.cs index bb5bc038..c89d2edc 100644 --- a/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableClientAvailableConfigure.cs +++ b/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableClientAvailableConfigure.cs @@ -62,8 +62,9 @@ public ValidateOptionsResult Validate(string? name, TableClientAvailableOptions { TableClientCreationMode.ServiceProvider => ValidateModeServiceProvider(), TableClientCreationMode.ConnectionString => ValidateModeConnectionString(options), - TableClientCreationMode.DefaultAzureCredentials - => ValidateModeDefaultAzureCredentials(options), + TableClientCreationMode.DefaultAzureCredentials => ValidateModeDefaultAzureCredentials( + options + ), TableClientCreationMode.SharedKey => ValidateModeSharedKey(options), TableClientCreationMode.AzureSasCredential => ValidateModeAzureSasCredential(options), _ => Fail($"The mode `{mode}` is not supported."), diff --git a/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableClientCreationMode.cs b/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableClientCreationMode.cs index 60e0bcee..6f47d697 100644 --- a/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableClientCreationMode.cs +++ b/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableClientCreationMode.cs @@ -33,5 +33,5 @@ public enum TableClientCreationMode /// /// The is created using the . /// - AzureSasCredential = 4 + AzureSasCredential = 4, } diff --git a/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableServiceAvailableConfigure.cs b/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableServiceAvailableConfigure.cs index be74639f..833a97a7 100644 --- a/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableServiceAvailableConfigure.cs +++ b/src/HealthChecks.Azure.Tables/src/NetEvolve.HealthChecks.Azure.Tables/TableServiceAvailableConfigure.cs @@ -57,8 +57,9 @@ public ValidateOptionsResult Validate(string? name, TableServiceAvailableOptions { TableClientCreationMode.ServiceProvider => ValidateModeServiceProvider(), TableClientCreationMode.ConnectionString => ValidateModeConnectionString(options), - TableClientCreationMode.DefaultAzureCredentials - => ValidateModeDefaultAzureCredentials(options), + TableClientCreationMode.DefaultAzureCredentials => ValidateModeDefaultAzureCredentials( + options + ), TableClientCreationMode.SharedKey => ValidateModeSharedKey(options), TableClientCreationMode.AzureSasCredential => ValidateModeAzureSasCredential(options), _ => Fail($"The mode `{mode}` is not supported."), diff --git a/src/HealthChecks.Azure.Tables/tests/NetEvolve.HealthChecks.Azure.Tables.Tests.Unit/TableClientAvailableConfigureTests.cs b/src/HealthChecks.Azure.Tables/tests/NetEvolve.HealthChecks.Azure.Tables.Tests.Unit/TableClientAvailableConfigureTests.cs index 8229a982..27c08c8e 100644 --- a/src/HealthChecks.Azure.Tables/tests/NetEvolve.HealthChecks.Azure.Tables.Tests.Unit/TableClientAvailableConfigureTests.cs +++ b/src/HealthChecks.Azure.Tables/tests/NetEvolve.HealthChecks.Azure.Tables.Tests.Unit/TableClientAvailableConfigureTests.cs @@ -82,7 +82,7 @@ public static TheoryData< new TableClientAvailableOptions { Mode = (TableClientCreationMode)13, - TableName = "test" + TableName = "test", } }, // Mode: ServiceProvider @@ -93,7 +93,7 @@ public static TheoryData< new TableClientAvailableOptions { Mode = TableClientCreationMode.ServiceProvider, - TableName = "test" + TableName = "test", } }, // Mode: DefaultAzureCredentials @@ -104,7 +104,7 @@ public static TheoryData< new TableClientAvailableOptions { Mode = TableClientCreationMode.DefaultAzureCredentials, - TableName = "test" + TableName = "test", } }, { @@ -115,7 +115,7 @@ public static TheoryData< { TableName = "test", Mode = TableClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -126,7 +126,7 @@ public static TheoryData< { TableName = "test", Mode = TableClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("https://example.com", UriKind.Absolute) + ServiceUri = new Uri("https://example.com", UriKind.Absolute), } }, // Mode: ConnectionString @@ -137,7 +137,7 @@ public static TheoryData< new TableClientAvailableOptions { TableName = "test", - Mode = TableClientCreationMode.ConnectionString + Mode = TableClientCreationMode.ConnectionString, } }, { @@ -148,7 +148,7 @@ public static TheoryData< { TableName = "test", Mode = TableClientCreationMode.ConnectionString, - ConnectionString = "connectionString" + ConnectionString = "connectionString", } }, // Mode: SharedKey @@ -159,7 +159,7 @@ public static TheoryData< new TableClientAvailableOptions { TableName = "test", - Mode = TableClientCreationMode.SharedKey + Mode = TableClientCreationMode.SharedKey, } }, { @@ -170,7 +170,7 @@ public static TheoryData< { TableName = "test", Mode = TableClientCreationMode.SharedKey, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -182,7 +182,7 @@ public static TheoryData< TableName = "test", Mode = TableClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), - AccountName = null + AccountName = null, } }, { @@ -195,7 +195,7 @@ public static TheoryData< Mode = TableClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = null + AccountKey = null, } }, { @@ -208,7 +208,7 @@ public static TheoryData< Mode = TableClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = "test" + AccountKey = "test", } }, // Mode: AzureSasCredential @@ -219,7 +219,7 @@ public static TheoryData< new TableClientAvailableOptions { TableName = "test", - Mode = TableClientCreationMode.AzureSasCredential + Mode = TableClientCreationMode.AzureSasCredential, } }, { @@ -230,7 +230,7 @@ public static TheoryData< { TableName = "test", Mode = TableClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -241,7 +241,7 @@ public static TheoryData< { TableName = "test", Mode = TableClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute", UriKind.Absolute) + ServiceUri = new Uri("https://absolute", UriKind.Absolute), } }, { @@ -252,9 +252,9 @@ public static TheoryData< { TableName = "test", Mode = TableClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute) + ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute), } - } + }, }; return data; diff --git a/src/HealthChecks.Azure.Tables/tests/NetEvolve.HealthChecks.Azure.Tables.Tests.Unit/TableServiceAvailableConfigureTests.cs b/src/HealthChecks.Azure.Tables/tests/NetEvolve.HealthChecks.Azure.Tables.Tests.Unit/TableServiceAvailableConfigureTests.cs index 6ab28691..e9f5a3b1 100644 --- a/src/HealthChecks.Azure.Tables/tests/NetEvolve.HealthChecks.Azure.Tables.Tests.Unit/TableServiceAvailableConfigureTests.cs +++ b/src/HealthChecks.Azure.Tables/tests/NetEvolve.HealthChecks.Azure.Tables.Tests.Unit/TableServiceAvailableConfigureTests.cs @@ -89,7 +89,7 @@ public static TheoryData< "name", new TableServiceAvailableOptions { - Mode = TableClientCreationMode.DefaultAzureCredentials + Mode = TableClientCreationMode.DefaultAzureCredentials, } }, { @@ -99,7 +99,7 @@ public static TheoryData< new TableServiceAvailableOptions { Mode = TableClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -109,7 +109,7 @@ public static TheoryData< new TableServiceAvailableOptions { Mode = TableClientCreationMode.DefaultAzureCredentials, - ServiceUri = new Uri("https://example.com", UriKind.Absolute) + ServiceUri = new Uri("https://example.com", UriKind.Absolute), } }, // Mode: ConnectionString @@ -126,7 +126,7 @@ public static TheoryData< new TableServiceAvailableOptions { Mode = TableClientCreationMode.ConnectionString, - ConnectionString = "connectionString" + ConnectionString = "connectionString", } }, // Mode: SharedKey @@ -143,7 +143,7 @@ public static TheoryData< new TableServiceAvailableOptions { Mode = TableClientCreationMode.SharedKey, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -154,7 +154,7 @@ public static TheoryData< { Mode = TableClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), - AccountName = null + AccountName = null, } }, { @@ -166,7 +166,7 @@ public static TheoryData< Mode = TableClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = null + AccountKey = null, } }, { @@ -178,7 +178,7 @@ public static TheoryData< Mode = TableClientCreationMode.SharedKey, ServiceUri = new Uri("https://example.com", UriKind.Absolute), AccountName = "test", - AccountKey = "test" + AccountKey = "test", } }, // Mode: AzureSasCredential @@ -188,7 +188,7 @@ public static TheoryData< "name", new TableServiceAvailableOptions { - Mode = TableClientCreationMode.AzureSasCredential + Mode = TableClientCreationMode.AzureSasCredential, } }, { @@ -198,7 +198,7 @@ public static TheoryData< new TableServiceAvailableOptions { Mode = TableClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("/relative", UriKind.Relative) + ServiceUri = new Uri("/relative", UriKind.Relative), } }, { @@ -208,7 +208,7 @@ public static TheoryData< new TableServiceAvailableOptions { Mode = TableClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute", UriKind.Absolute) + ServiceUri = new Uri("https://absolute", UriKind.Absolute), } }, { @@ -218,9 +218,9 @@ public static TheoryData< new TableServiceAvailableOptions { Mode = TableClientCreationMode.AzureSasCredential, - ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute) + ServiceUri = new Uri("https://absolute?query=test", UriKind.Absolute), } - } + }, }; return data; diff --git a/src/HealthChecks.ClickHouse/tests/NetEvolve.HealthChecks.ClickHouse.Tests.Integration/ClickHouseCheckTests.cs b/src/HealthChecks.ClickHouse/tests/NetEvolve.HealthChecks.ClickHouse.Tests.Integration/ClickHouseCheckTests.cs index 1f559a8f..d3ce9829 100644 --- a/src/HealthChecks.ClickHouse/tests/NetEvolve.HealthChecks.ClickHouse.Tests.Integration/ClickHouseCheckTests.cs +++ b/src/HealthChecks.ClickHouse/tests/NetEvolve.HealthChecks.ClickHouse.Tests.Integration/ClickHouseCheckTests.cs @@ -89,7 +89,7 @@ await RunAndVerify( { "HealthChecks:ClickHouse:TestContainerHealthy:ConnectionString", _database.ConnectionString - } + }, }; _ = config.AddInMemoryCollection(values); } @@ -110,7 +110,7 @@ await RunAndVerify( "HealthChecks:ClickHouse:TestContainerDegraded:ConnectionString", _database.ConnectionString }, - { "HealthChecks:ClickHouse:TestContainerDegraded:Timeout", "0" } + { "HealthChecks:ClickHouse:TestContainerDegraded:Timeout", "0" }, }; _ = config.AddInMemoryCollection(values); } @@ -127,7 +127,7 @@ await RunAndVerify( { var values = new Dictionary(StringComparer.Ordinal) { - { "HealthChecks:ClickHouse:TestNoValues:ConnectionString", "" } + { "HealthChecks:ClickHouse:TestNoValues:ConnectionString", "" }, }; _ = config.AddInMemoryCollection(values); } @@ -148,7 +148,7 @@ await RunAndVerify( "HealthChecks:ClickHouse:TestNoValues:ConnectionString", _database.ConnectionString }, - { "HealthChecks:ClickHouse:TestNoValues:Timeout", "-2" } + { "HealthChecks:ClickHouse:TestNoValues:Timeout", "-2" }, }; _ = config.AddInMemoryCollection(values); } diff --git a/src/HealthChecks.ClickHouse/tests/NetEvolve.HealthChecks.ClickHouse.Tests.Unit/ClickHouseCheckTests.cs b/src/HealthChecks.ClickHouse/tests/NetEvolve.HealthChecks.ClickHouse.Tests.Unit/ClickHouseCheckTests.cs index 786baabd..7b6a665c 100644 --- a/src/HealthChecks.ClickHouse/tests/NetEvolve.HealthChecks.ClickHouse.Tests.Unit/ClickHouseCheckTests.cs +++ b/src/HealthChecks.ClickHouse/tests/NetEvolve.HealthChecks.ClickHouse.Tests.Unit/ClickHouseCheckTests.cs @@ -36,7 +36,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new ClickHouseCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -56,7 +56,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new ClickHouseCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks.MySql.Connector/tests/NetEvolve.HealthChecks.MySql.Connector.Tests.Integration/MySqlCheckTests.cs b/src/HealthChecks.MySql.Connector/tests/NetEvolve.HealthChecks.MySql.Connector.Tests.Integration/MySqlCheckTests.cs index aa87e8a0..2fcad0fe 100644 --- a/src/HealthChecks.MySql.Connector/tests/NetEvolve.HealthChecks.MySql.Connector.Tests.Integration/MySqlCheckTests.cs +++ b/src/HealthChecks.MySql.Connector/tests/NetEvolve.HealthChecks.MySql.Connector.Tests.Integration/MySqlCheckTests.cs @@ -90,7 +90,7 @@ await RunAndVerify( { "HealthChecks:MySql:TestContainerHealthy:ConnectionString", _database.ConnectionString - } + }, }; _ = config.AddInMemoryCollection(values); } @@ -111,7 +111,7 @@ await RunAndVerify( "HealthChecks:MySql:TestContainerDegraded:ConnectionString", _database.ConnectionString }, - { "HealthChecks:MySql:TestContainerDegraded:Timeout", "0" } + { "HealthChecks:MySql:TestContainerDegraded:Timeout", "0" }, }; _ = config.AddInMemoryCollection(values); } @@ -128,7 +128,7 @@ await RunAndVerify( { var values = new Dictionary(StringComparer.Ordinal) { - { "HealthChecks:MySql:TestNoValues:ConnectionString", "" } + { "HealthChecks:MySql:TestNoValues:ConnectionString", "" }, }; _ = config.AddInMemoryCollection(values); } @@ -149,7 +149,7 @@ await RunAndVerify( "HealthChecks:MySql:TestNoValues:ConnectionString", _database.ConnectionString }, - { "HealthChecks:MySql:TestNoValues:Timeout", "-2" } + { "HealthChecks:MySql:TestNoValues:Timeout", "-2" }, }; _ = config.AddInMemoryCollection(values); } diff --git a/src/HealthChecks.MySql.Connector/tests/NetEvolve.HealthChecks.MySql.Connector.Tests.Unit/MySqlCheckTests.cs b/src/HealthChecks.MySql.Connector/tests/NetEvolve.HealthChecks.MySql.Connector.Tests.Unit/MySqlCheckTests.cs index eb4d3b2c..251063bb 100644 --- a/src/HealthChecks.MySql.Connector/tests/NetEvolve.HealthChecks.MySql.Connector.Tests.Unit/MySqlCheckTests.cs +++ b/src/HealthChecks.MySql.Connector/tests/NetEvolve.HealthChecks.MySql.Connector.Tests.Unit/MySqlCheckTests.cs @@ -36,7 +36,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new MySqlCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -56,7 +56,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new MySqlCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks.MySql/tests/NetEvolve.HealthChecks.MySql.Tests.Integration/MySqlCheckTests.cs b/src/HealthChecks.MySql/tests/NetEvolve.HealthChecks.MySql.Tests.Integration/MySqlCheckTests.cs index 7602b5b6..b750d644 100644 --- a/src/HealthChecks.MySql/tests/NetEvolve.HealthChecks.MySql.Tests.Integration/MySqlCheckTests.cs +++ b/src/HealthChecks.MySql/tests/NetEvolve.HealthChecks.MySql.Tests.Integration/MySqlCheckTests.cs @@ -90,7 +90,7 @@ await RunAndVerify( { "HealthChecks:MySql:TestContainerHealthy:ConnectionString", _database.ConnectionString - } + }, }; _ = config.AddInMemoryCollection(values); } @@ -111,7 +111,7 @@ await RunAndVerify( "HealthChecks:MySql:TestContainerDegraded:ConnectionString", _database.ConnectionString }, - { "HealthChecks:MySql:TestContainerDegraded:Timeout", "0" } + { "HealthChecks:MySql:TestContainerDegraded:Timeout", "0" }, }; _ = config.AddInMemoryCollection(values); } @@ -128,7 +128,7 @@ await RunAndVerify( { var values = new Dictionary(StringComparer.Ordinal) { - { "HealthChecks:MySql:TestNoValues:ConnectionString", "" } + { "HealthChecks:MySql:TestNoValues:ConnectionString", "" }, }; _ = config.AddInMemoryCollection(values); } @@ -149,7 +149,7 @@ await RunAndVerify( "HealthChecks:MySql:TestNoValues:ConnectionString", _database.ConnectionString }, - { "HealthChecks:MySql:TestNoValues:Timeout", "-2" } + { "HealthChecks:MySql:TestNoValues:Timeout", "-2" }, }; _ = config.AddInMemoryCollection(values); } diff --git a/src/HealthChecks.MySql/tests/NetEvolve.HealthChecks.MySql.Tests.Unit/MySqlCheckTests.cs b/src/HealthChecks.MySql/tests/NetEvolve.HealthChecks.MySql.Tests.Unit/MySqlCheckTests.cs index 1282e4b9..0bc952c7 100644 --- a/src/HealthChecks.MySql/tests/NetEvolve.HealthChecks.MySql.Tests.Unit/MySqlCheckTests.cs +++ b/src/HealthChecks.MySql/tests/NetEvolve.HealthChecks.MySql.Tests.Unit/MySqlCheckTests.cs @@ -37,7 +37,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new MySqlCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -57,7 +57,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new MySqlCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks.Npgsql/tests/NetEvolve.HealthChecks.Npgsql.Tests.Integration/NpgsqlCheckTests.cs b/src/HealthChecks.Npgsql/tests/NetEvolve.HealthChecks.Npgsql.Tests.Integration/NpgsqlCheckTests.cs index 447c42ac..31bbe0e8 100644 --- a/src/HealthChecks.Npgsql/tests/NetEvolve.HealthChecks.Npgsql.Tests.Integration/NpgsqlCheckTests.cs +++ b/src/HealthChecks.Npgsql/tests/NetEvolve.HealthChecks.Npgsql.Tests.Integration/NpgsqlCheckTests.cs @@ -88,7 +88,7 @@ await RunAndVerify( { "HealthChecks:PostgreSql:TestContainerHealthy:ConnectionString", _database.ConnectionString - } + }, }; _ = config.AddInMemoryCollection(values); } @@ -109,7 +109,7 @@ await RunAndVerify( "HealthChecks:PostgreSql:TestContainerDegraded:ConnectionString", _database.ConnectionString }, - { "HealthChecks:PostgreSql:TestContainerDegraded:Timeout", "0" } + { "HealthChecks:PostgreSql:TestContainerDegraded:Timeout", "0" }, }; _ = config.AddInMemoryCollection(values); } @@ -126,7 +126,7 @@ await RunAndVerify( { var values = new Dictionary(StringComparer.Ordinal) { - { "HealthChecks:PostgreSql:TestNoValues:ConnectionString", "" } + { "HealthChecks:PostgreSql:TestNoValues:ConnectionString", "" }, }; _ = config.AddInMemoryCollection(values); } @@ -147,7 +147,7 @@ await RunAndVerify( "HealthChecks:PostgreSql:TestNoValues:ConnectionString", _database.ConnectionString }, - { "HealthChecks:PostgreSql:TestNoValues:Timeout", "-2" } + { "HealthChecks:PostgreSql:TestNoValues:Timeout", "-2" }, }; _ = config.AddInMemoryCollection(values); } diff --git a/src/HealthChecks.Npgsql/tests/NetEvolve.HealthChecks.Npgsql.Tests.Unit/NpgsqlCheckTests.cs b/src/HealthChecks.Npgsql/tests/NetEvolve.HealthChecks.Npgsql.Tests.Unit/NpgsqlCheckTests.cs index 7cd61803..eb840a5f 100644 --- a/src/HealthChecks.Npgsql/tests/NetEvolve.HealthChecks.Npgsql.Tests.Unit/NpgsqlCheckTests.cs +++ b/src/HealthChecks.Npgsql/tests/NetEvolve.HealthChecks.Npgsql.Tests.Unit/NpgsqlCheckTests.cs @@ -36,7 +36,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new NpgsqlCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -56,7 +56,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new NpgsqlCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks.Oracle/tests/NetEvolve.HealthChecks.Oracle.Tests.Integration/OracleCheckTests.cs b/src/HealthChecks.Oracle/tests/NetEvolve.HealthChecks.Oracle.Tests.Integration/OracleCheckTests.cs index 05789112..ef2f3146 100644 --- a/src/HealthChecks.Oracle/tests/NetEvolve.HealthChecks.Oracle.Tests.Integration/OracleCheckTests.cs +++ b/src/HealthChecks.Oracle/tests/NetEvolve.HealthChecks.Oracle.Tests.Integration/OracleCheckTests.cs @@ -88,7 +88,7 @@ await RunAndVerify( { "HealthChecks:Oracle:TestContainerHealthy:ConnectionString", _database.GetConnectionString() - } + }, }; _ = config.AddInMemoryCollection(values); } @@ -109,7 +109,7 @@ await RunAndVerify( "HealthChecks:Oracle:TestContainerDegraded:ConnectionString", _database.GetConnectionString() }, - { "HealthChecks:Oracle:TestContainerDegraded:Timeout", "0" } + { "HealthChecks:Oracle:TestContainerDegraded:Timeout", "0" }, }; _ = config.AddInMemoryCollection(values); } @@ -126,7 +126,7 @@ await RunAndVerify( { var values = new Dictionary(StringComparer.Ordinal) { - { "HealthChecks:Oracle:TestNoValues:ConnectionString", "" } + { "HealthChecks:Oracle:TestNoValues:ConnectionString", "" }, }; _ = config.AddInMemoryCollection(values); } @@ -147,7 +147,7 @@ await RunAndVerify( "HealthChecks:Oracle:TestNoValues:ConnectionString", _database.GetConnectionString() }, - { "HealthChecks:Oracle:TestNoValues:Timeout", "-2" } + { "HealthChecks:Oracle:TestNoValues:Timeout", "-2" }, }; _ = config.AddInMemoryCollection(values); } diff --git a/src/HealthChecks.Oracle/tests/NetEvolve.HealthChecks.Oracle.Tests.Unit/OracleCheckTests.cs b/src/HealthChecks.Oracle/tests/NetEvolve.HealthChecks.Oracle.Tests.Unit/OracleCheckTests.cs index d5dda458..67f1fd27 100644 --- a/src/HealthChecks.Oracle/tests/NetEvolve.HealthChecks.Oracle.Tests.Unit/OracleCheckTests.cs +++ b/src/HealthChecks.Oracle/tests/NetEvolve.HealthChecks.Oracle.Tests.Unit/OracleCheckTests.cs @@ -37,7 +37,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new OracleCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -57,7 +57,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new OracleCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks.Redis/src/NetEvolve.HealthChecks.Redis/ConnectionHandleMode.cs b/src/HealthChecks.Redis/src/NetEvolve.HealthChecks.Redis/ConnectionHandleMode.cs index 1bcc1822..1639bca3 100644 --- a/src/HealthChecks.Redis/src/NetEvolve.HealthChecks.Redis/ConnectionHandleMode.cs +++ b/src/HealthChecks.Redis/src/NetEvolve.HealthChecks.Redis/ConnectionHandleMode.cs @@ -13,5 +13,5 @@ public enum ConnectionHandleMode /// /// Specifies that a new connection is created each time. /// - Create + Create, } diff --git a/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Integration/RedisDatabaseCheckTests.cs b/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Integration/RedisDatabaseCheckTests.cs index ecd6fb5f..bb0c7583 100644 --- a/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Integration/RedisDatabaseCheckTests.cs +++ b/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Integration/RedisDatabaseCheckTests.cs @@ -105,7 +105,7 @@ await RunAndVerify( { "HealthChecks:RedisDatabase:TestContainerHealthy:ConnectionString", _database.GetConnectionString() - } + }, }; _ = config.AddInMemoryCollection(values); }, @@ -138,7 +138,7 @@ await RunAndVerify( _database.GetConnectionString() }, { "HealthChecks:RedisDatabase:TestContainerDegraded:Timeout", "0" }, - { "HealthChecks:RedisDatabase:TestContainerDegraded:Mode", "Create" } + { "HealthChecks:RedisDatabase:TestContainerDegraded:Mode", "Create" }, }; _ = config.AddInMemoryCollection(values); } @@ -156,7 +156,7 @@ await RunAndVerify( var values = new Dictionary { { "HealthChecks:RedisDatabase:TestNoValues:ConnectionString", "" }, - { "HealthChecks:RedisDatabase:TestNoValues:Mode", "Create" } + { "HealthChecks:RedisDatabase:TestNoValues:Mode", "Create" }, }; _ = config.AddInMemoryCollection(values); } @@ -178,7 +178,7 @@ await RunAndVerify( _database.GetConnectionString() }, { "HealthChecks:RedisDatabase:TestNoValues:Timeout", "-2" }, - { "HealthChecks:RedisDatabase:TestNoValues:Mode", "Create" } + { "HealthChecks:RedisDatabase:TestNoValues:Mode", "Create" }, }; _ = config.AddInMemoryCollection(values); } diff --git a/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Unit/RedisDatabaseCheckTests.cs b/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Unit/RedisDatabaseCheckTests.cs index bb4bb691..2e09278f 100644 --- a/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Unit/RedisDatabaseCheckTests.cs +++ b/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Unit/RedisDatabaseCheckTests.cs @@ -38,7 +38,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new RedisDatabaseHealthCheck(serviceProvider, optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -59,7 +59,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new RedisDatabaseHealthCheck(serviceProvider, optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Unit/RedisDatabaseConfigureTests.cs b/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Unit/RedisDatabaseConfigureTests.cs index c39db916..3ad96ca0 100644 --- a/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Unit/RedisDatabaseConfigureTests.cs +++ b/src/HealthChecks.Redis/tests/NetEvolve.HealthChecks.Redis.Tests.Unit/RedisDatabaseConfigureTests.cs @@ -51,7 +51,7 @@ public void Validate_WhenArgumentConnectionStringNull_ThrowArgumentException() var options = new RedisDatabaseOptions { ConnectionString = default, - Mode = ConnectionHandleMode.Create + Mode = ConnectionHandleMode.Create, }; // Act diff --git a/src/HealthChecks.Redpanda/src/NetEvolve.HealthChecks.Redpanda/RedpandaCheck.cs b/src/HealthChecks.Redpanda/src/NetEvolve.HealthChecks.Redpanda/RedpandaCheck.cs index 3393ed6b..e0a72dd7 100644 --- a/src/HealthChecks.Redpanda/src/NetEvolve.HealthChecks.Redpanda/RedpandaCheck.cs +++ b/src/HealthChecks.Redpanda/src/NetEvolve.HealthChecks.Redpanda/RedpandaCheck.cs @@ -19,7 +19,7 @@ internal sealed class RedpandaCheck : ConfigurableHealthCheckBase _message = new Message() { Key = "HealthCheck", - Value = "HealthCheck" + Value = "HealthCheck", }; public RedpandaCheck( diff --git a/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Integration/RedpandaCheckTests.cs b/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Integration/RedpandaCheckTests.cs index 444d8bfd..42c6f7b7 100644 --- a/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Integration/RedpandaCheckTests.cs +++ b/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Integration/RedpandaCheckTests.cs @@ -58,7 +58,7 @@ await RunAndVerify( { var config = new ProducerConfig { - BootstrapServers = _database.BootstrapAddress + BootstrapServers = _database.BootstrapAddress, }; return new ProducerBuilder(config).Build(); @@ -83,7 +83,7 @@ await RunAndVerify( }, { "HealthChecks:RedPanda:TestContainerHealthy:Timeout", "5000" }, { "HealthChecks:RedPanda:TestContainerHealthy:Topic", "TestContainerHealthy" }, - { "HealthChecks:RedPanda:TestContainerHealthy:Mode", "Create" } + { "HealthChecks:RedPanda:TestContainerHealthy:Mode", "Create" }, }; _ = config.AddInMemoryCollection(values); } @@ -106,7 +106,7 @@ await RunAndVerify( }, { "HealthChecks:RedPanda:TestContainerHealthy:Timeout", "5000" }, { "HealthChecks:RedPanda:TestContainerHealthy:Topic", "TestContainerHealthy" }, - { "HealthChecks:RedPanda:TestContainerHealthy:Mode", "ServiceProvider" } + { "HealthChecks:RedPanda:TestContainerHealthy:Mode", "ServiceProvider" }, }; _ = config.AddInMemoryCollection(values); }, @@ -116,7 +116,7 @@ await RunAndVerify( { var config = new ProducerConfig { - BootstrapServers = _database.BootstrapAddress + BootstrapServers = _database.BootstrapAddress, }; return new ProducerBuilder(config).Build(); @@ -135,7 +135,7 @@ await RunAndVerify(healthChecks => options.Configuration = new() { BootstrapServers = _database.BootstrapAddress, - EnableDeliveryReports = false + EnableDeliveryReports = false, }; options.Mode = ProducerHandleMode.Create; options.Timeout = 5000; @@ -165,7 +165,7 @@ await RunAndVerify( }, { "HealthChecks:RedPanda:TestContainerHealthy:Timeout", "5000" }, { "HealthChecks:RedPanda:TestContainerHealthy:Topic", "TestContainerHealthy" }, - { "HealthChecks:RedPanda:TestContainerHealthy:Mode", "Create" } + { "HealthChecks:RedPanda:TestContainerHealthy:Mode", "Create" }, }; _ = config.AddInMemoryCollection(values); } @@ -208,7 +208,7 @@ await RunAndVerify( { var config = new ProducerConfig { - BootstrapServers = _database.BootstrapAddress + BootstrapServers = _database.BootstrapAddress, }; return new ProducerBuilder(config).Build(); @@ -236,7 +236,7 @@ await RunAndVerify( "HealthChecks:RedPanda:TestContainerDegraded:Topic", "TestContainerDegraded" }, - { "HealthChecks:RedPanda:TestContainerDegraded:Mode", "Create" } + { "HealthChecks:RedPanda:TestContainerDegraded:Mode", "Create" }, }; _ = config.AddInMemoryCollection(values); } @@ -262,7 +262,7 @@ await RunAndVerify( "HealthChecks:RedPanda:TestContainerDegraded:Topic", "TestContainerDegraded" }, - { "HealthChecks:RedPanda:TestContainerDegraded:Mode", "ServiceProvider" } + { "HealthChecks:RedPanda:TestContainerDegraded:Mode", "ServiceProvider" }, }; _ = config.AddInMemoryCollection(values); }, @@ -272,7 +272,7 @@ await RunAndVerify( { var config = new ProducerConfig { - BootstrapServers = _database.BootstrapAddress + BootstrapServers = _database.BootstrapAddress, }; return new ProducerBuilder(config).Build(); @@ -291,7 +291,7 @@ await RunAndVerify(healthChecks => options.Configuration = new() { BootstrapServers = _database.BootstrapAddress, - EnableDeliveryReports = false + EnableDeliveryReports = false, }; options.Mode = ProducerHandleMode.Create; options.Timeout = 0; @@ -324,7 +324,7 @@ await RunAndVerify( "HealthChecks:RedPanda:TestContainerDegraded:Topic", "TestContainerDegraded" }, - { "HealthChecks:RedPanda:TestContainerDegraded:Mode", "Create" } + { "HealthChecks:RedPanda:TestContainerDegraded:Mode", "Create" }, }; _ = config.AddInMemoryCollection(values); } @@ -341,7 +341,7 @@ await RunAndVerify(healthChecks => options.Configuration = new() { BootstrapServers = _database.BootstrapAddress, - SocketTimeoutMs = 0 + SocketTimeoutMs = 0, }; options.Mode = ProducerHandleMode.Create; options.Topic = "TestContainerUnhealty"; @@ -370,7 +370,7 @@ await RunAndVerify( var config = new ProducerConfig { BootstrapServers = _database.BootstrapAddress, - SocketTimeoutMs = 0 + SocketTimeoutMs = 0, }; return new ProducerBuilder(config).Build(); @@ -434,7 +434,7 @@ await RunAndVerify(healthChecks => options.Configuration = new() { BootstrapServers = _database.BootstrapAddress, - EnableDeliveryReports = false + EnableDeliveryReports = false, }; options.Mode = ProducerHandleMode.Create; options.Topic = "TestContainerUnhealty"; diff --git a/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Unit/RedpandaCheckTests.cs b/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Unit/RedpandaCheckTests.cs index dfbbcaa5..fef660ec 100644 --- a/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Unit/RedpandaCheckTests.cs +++ b/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Unit/RedpandaCheckTests.cs @@ -39,7 +39,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new RedpandaCheck(serviceProvider, optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -60,7 +60,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new RedpandaCheck(serviceProvider, optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Unit/RedpandaConfigureTests.cs b/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Unit/RedpandaConfigureTests.cs index 814530c2..50690d29 100644 --- a/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Unit/RedpandaConfigureTests.cs +++ b/src/HealthChecks.Redpanda/tests/NetEvolve.HealthChecks.Redpanda.Tests.Unit/RedpandaConfigureTests.cs @@ -86,7 +86,7 @@ public void Validate_WhenModeCreateAndBootstrapServerEmpty_ThrowArgumentExceptio { Topic = "Test", Mode = ProducerHandleMode.Create, - Configuration = new ProducerConfig() + Configuration = new ProducerConfig(), }; // Act @@ -110,7 +110,7 @@ public void Validate_EverythingCorrect_Expected() { Topic = "Test", Mode = ProducerHandleMode.Create, - Configuration = new ProducerConfig { BootstrapServers = "localhost:9092" } + Configuration = new ProducerConfig { BootstrapServers = "localhost:9092" }, }; // Act diff --git a/src/HealthChecks.SQLite/tests/NetEvolve.HealthChecks.SQLite.Tests.Integration/SQLiteCheckTests.cs b/src/HealthChecks.SQLite/tests/NetEvolve.HealthChecks.SQLite.Tests.Integration/SQLiteCheckTests.cs index c0ba35ff..6f4cfd95 100644 --- a/src/HealthChecks.SQLite/tests/NetEvolve.HealthChecks.SQLite.Tests.Integration/SQLiteCheckTests.cs +++ b/src/HealthChecks.SQLite/tests/NetEvolve.HealthChecks.SQLite.Tests.Integration/SQLiteCheckTests.cs @@ -90,7 +90,7 @@ await RunAndVerify( { "HealthChecks:SQLite:TestContainerHealthy:ConnectionString", _database.ConnectionString - } + }, }; _ = config.AddInMemoryCollection(values); } @@ -111,7 +111,7 @@ await RunAndVerify( "HealthChecks:SQLite:TestContainerDegraded:ConnectionString", _database.ConnectionString }, - { "HealthChecks:SQLite:TestContainerDegraded:Timeout", "0" } + { "HealthChecks:SQLite:TestContainerDegraded:Timeout", "0" }, }; _ = config.AddInMemoryCollection(values); } @@ -128,7 +128,7 @@ await RunAndVerify( { var values = new Dictionary(StringComparer.Ordinal) { - { "HealthChecks:SQLite:TestNoValues:ConnectionString", "" } + { "HealthChecks:SQLite:TestNoValues:ConnectionString", "" }, }; _ = config.AddInMemoryCollection(values); } @@ -149,7 +149,7 @@ await RunAndVerify( "HealthChecks:SQLite:TestNoValues:ConnectionString", _database.ConnectionString }, - { "HealthChecks:SQLite:TestNoValues:Timeout", "-2" } + { "HealthChecks:SQLite:TestNoValues:Timeout", "-2" }, }; _ = config.AddInMemoryCollection(values); } diff --git a/src/HealthChecks.SQLite/tests/NetEvolve.HealthChecks.SQLite.Tests.Unit/SQLiteCheckTests.cs b/src/HealthChecks.SQLite/tests/NetEvolve.HealthChecks.SQLite.Tests.Unit/SQLiteCheckTests.cs index 0f649fa3..3aae2436 100644 --- a/src/HealthChecks.SQLite/tests/NetEvolve.HealthChecks.SQLite.Tests.Unit/SQLiteCheckTests.cs +++ b/src/HealthChecks.SQLite/tests/NetEvolve.HealthChecks.SQLite.Tests.Unit/SQLiteCheckTests.cs @@ -36,7 +36,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new SQLiteCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -56,7 +56,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new SQLiteCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks.SqlEdge/tests/NetEvolve.HealthChecks.SqlEdge.Tests.Integration/SqlEdgeCheckTests.cs b/src/HealthChecks.SqlEdge/tests/NetEvolve.HealthChecks.SqlEdge.Tests.Integration/SqlEdgeCheckTests.cs index b9fd26b4..b4421ea7 100644 --- a/src/HealthChecks.SqlEdge/tests/NetEvolve.HealthChecks.SqlEdge.Tests.Integration/SqlEdgeCheckTests.cs +++ b/src/HealthChecks.SqlEdge/tests/NetEvolve.HealthChecks.SqlEdge.Tests.Integration/SqlEdgeCheckTests.cs @@ -89,7 +89,7 @@ await RunAndVerify( { "HealthChecks:SqlEdge:TestContainerHealthy:ConnectionString", _database.ConnectionString - } + }, }; _ = config.AddInMemoryCollection(values); } @@ -110,7 +110,7 @@ await RunAndVerify( "HealthChecks:SqlEdge:TestContainerDegraded:ConnectionString", _database.ConnectionString }, - { "HealthChecks:SqlEdge:TestContainerDegraded:Timeout", "0" } + { "HealthChecks:SqlEdge:TestContainerDegraded:Timeout", "0" }, }; _ = config.AddInMemoryCollection(values); } @@ -127,7 +127,7 @@ await RunAndVerify( { var values = new Dictionary(StringComparer.Ordinal) { - { "HealthChecks:SqlEdge:TestNoValues:ConnectionString", "" } + { "HealthChecks:SqlEdge:TestNoValues:ConnectionString", "" }, }; _ = config.AddInMemoryCollection(values); } @@ -148,7 +148,7 @@ await RunAndVerify( "HealthChecks:SqlEdge:TestNoValues:ConnectionString", _database.ConnectionString }, - { "HealthChecks:SqlEdge:TestNoValues:Timeout", "-2" } + { "HealthChecks:SqlEdge:TestNoValues:Timeout", "-2" }, }; _ = config.AddInMemoryCollection(values); } diff --git a/src/HealthChecks.SqlEdge/tests/NetEvolve.HealthChecks.SqlEdge.Tests.Unit/SqlEdgeCheckTests.cs b/src/HealthChecks.SqlEdge/tests/NetEvolve.HealthChecks.SqlEdge.Tests.Unit/SqlEdgeCheckTests.cs index d456b2e0..b36a9703 100644 --- a/src/HealthChecks.SqlEdge/tests/NetEvolve.HealthChecks.SqlEdge.Tests.Unit/SqlEdgeCheckTests.cs +++ b/src/HealthChecks.SqlEdge/tests/NetEvolve.HealthChecks.SqlEdge.Tests.Unit/SqlEdgeCheckTests.cs @@ -36,7 +36,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new SqlEdgeCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -56,7 +56,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new SqlEdgeCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Integration/SqlServerLegacyCheckTests.cs b/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Integration/SqlServerLegacyCheckTests.cs index bae350fe..4139cce6 100644 --- a/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Integration/SqlServerLegacyCheckTests.cs +++ b/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Integration/SqlServerLegacyCheckTests.cs @@ -89,7 +89,7 @@ await RunAndVerify( { "HealthChecks:SqlServer:TestContainerHealthy:ConnectionString", _database.ConnectionString - } + }, }; _ = config.AddInMemoryCollection(values); } @@ -110,7 +110,7 @@ await RunAndVerify( "HealthChecks:SqlServer:TestContainerDegraded:ConnectionString", _database.ConnectionString }, - { "HealthChecks:SqlServer:TestContainerDegraded:Timeout", "0" } + { "HealthChecks:SqlServer:TestContainerDegraded:Timeout", "0" }, }; _ = config.AddInMemoryCollection(values); } @@ -127,7 +127,7 @@ await RunAndVerify( { var values = new Dictionary(StringComparer.Ordinal) { - { "HealthChecks:SqlServer:TestNoValues:ConnectionString", "" } + { "HealthChecks:SqlServer:TestNoValues:ConnectionString", "" }, }; _ = config.AddInMemoryCollection(values); } @@ -148,7 +148,7 @@ await RunAndVerify( "HealthChecks:SqlServer:TestNoValues:ConnectionString", _database.ConnectionString }, - { "HealthChecks:SqlServer:TestNoValues:Timeout", "-2" } + { "HealthChecks:SqlServer:TestNoValues:Timeout", "-2" }, }; _ = config.AddInMemoryCollection(values); } diff --git a/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Unit/SqlServerCheckTests.cs b/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Unit/SqlServerCheckTests.cs index 0bb6c160..6080f49f 100644 --- a/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Unit/SqlServerCheckTests.cs +++ b/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Unit/SqlServerCheckTests.cs @@ -36,7 +36,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new SqlServerLegacyCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -56,7 +56,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new SqlServerLegacyCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Unit/SqlServerOptionsConfigureTests.cs b/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Unit/SqlServerOptionsConfigureTests.cs index 8f95c399..153e0c3f 100644 --- a/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Unit/SqlServerOptionsConfigureTests.cs +++ b/src/HealthChecks.SqlServer.Legacy/tests/NetEvolve.HealthChecks.SqlServer.Legacy.Tests.Unit/SqlServerOptionsConfigureTests.cs @@ -100,7 +100,7 @@ public void PostConfigure_WhenArgumentCommandEmpty_SetDefaultCommand() var options = new SqlServerLegacyOptions { ConnectionString = "Test", - Command = string.Empty + Command = string.Empty, }; // Act @@ -119,7 +119,7 @@ public void PostConfigure_WhenNameIsNull_DoNothing() var options = new SqlServerLegacyOptions { ConnectionString = "Test", - Command = string.Empty + Command = string.Empty, }; // Act diff --git a/src/HealthChecks.SqlServer/tests/NetEvolve.HealthChecks.SqlServer.Tests.Integration/SqlServerCheckTests.cs b/src/HealthChecks.SqlServer/tests/NetEvolve.HealthChecks.SqlServer.Tests.Integration/SqlServerCheckTests.cs index 0bb9ce14..d786fabe 100644 --- a/src/HealthChecks.SqlServer/tests/NetEvolve.HealthChecks.SqlServer.Tests.Integration/SqlServerCheckTests.cs +++ b/src/HealthChecks.SqlServer/tests/NetEvolve.HealthChecks.SqlServer.Tests.Integration/SqlServerCheckTests.cs @@ -89,7 +89,7 @@ await RunAndVerify( { "HealthChecks:SqlServer:TestContainerHealthy:ConnectionString", _database.ConnectionString - } + }, }; _ = config.AddInMemoryCollection(values); } @@ -110,7 +110,7 @@ await RunAndVerify( "HealthChecks:SqlServer:TestContainerDegraded:ConnectionString", _database.ConnectionString }, - { "HealthChecks:SqlServer:TestContainerDegraded:Timeout", "0" } + { "HealthChecks:SqlServer:TestContainerDegraded:Timeout", "0" }, }; _ = config.AddInMemoryCollection(values); } @@ -127,7 +127,7 @@ await RunAndVerify( { var values = new Dictionary(StringComparer.Ordinal) { - { "HealthChecks:SqlServer:TestNoValues:ConnectionString", "" } + { "HealthChecks:SqlServer:TestNoValues:ConnectionString", "" }, }; _ = config.AddInMemoryCollection(values); } @@ -148,7 +148,7 @@ await RunAndVerify( "HealthChecks:SqlServer:TestNoValues:ConnectionString", _database.ConnectionString }, - { "HealthChecks:SqlServer:TestNoValues:Timeout", "-2" } + { "HealthChecks:SqlServer:TestNoValues:Timeout", "-2" }, }; _ = config.AddInMemoryCollection(values); } diff --git a/src/HealthChecks.SqlServer/tests/NetEvolve.HealthChecks.SqlServer.Tests.Unit/SqlServerCheckTests.cs b/src/HealthChecks.SqlServer/tests/NetEvolve.HealthChecks.SqlServer.Tests.Unit/SqlServerCheckTests.cs index cb0031d5..345c7252 100644 --- a/src/HealthChecks.SqlServer/tests/NetEvolve.HealthChecks.SqlServer.Tests.Unit/SqlServerCheckTests.cs +++ b/src/HealthChecks.SqlServer/tests/NetEvolve.HealthChecks.SqlServer.Tests.Unit/SqlServerCheckTests.cs @@ -36,7 +36,7 @@ public async Task CheckHealthAsync_WhenCancellationTokenIsCancelled_ShouldReturn var check = new SqlServerCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; var cancellationToken = new CancellationToken(true); @@ -56,7 +56,7 @@ public async Task CheckHealthAsync_WhenOptionsAreNull_ShouldReturnUnhealthy() var check = new SqlServerCheck(optionsMonitor); var context = new HealthCheckContext { - Registration = new HealthCheckRegistration("Test", check, null, null) + Registration = new HealthCheckRegistration("Test", check, null, null), }; // Act diff --git a/src/HealthChecks/tests/NetEvolve.HealthChecks.Tests.Unit/ApplicationReadinessCheckTests.cs b/src/HealthChecks/tests/NetEvolve.HealthChecks.Tests.Unit/ApplicationReadinessCheckTests.cs index 69778754..15d20218 100644 --- a/src/HealthChecks/tests/NetEvolve.HealthChecks.Tests.Unit/ApplicationReadinessCheckTests.cs +++ b/src/HealthChecks/tests/NetEvolve.HealthChecks.Tests.Unit/ApplicationReadinessCheckTests.cs @@ -36,7 +36,7 @@ public async Task CheckHealthAsync_WhenArgumentCancellationToken_ReturnsHealthy( var cancellationToken = new CancellationToken(); var context = new HealthCheckContext { - Registration = new("Test", sut, HealthStatus.Unhealthy, null) + Registration = new("Test", sut, HealthStatus.Unhealthy, null), }; // Act @@ -56,7 +56,7 @@ public async Task CheckHealthAsync_WhenArgumentCancellationTokenIsCancelled_Retu var cancellationToken = new CancellationToken(true); var context = new HealthCheckContext { - Registration = new("Test", sut, HealthStatus.Unhealthy, null) + Registration = new("Test", sut, HealthStatus.Unhealthy, null), }; // Act @@ -75,7 +75,7 @@ public async Task CheckHealthAsync_WhenApplicationStopped_ReturnsUnhealthy() var cancellationToken = new CancellationToken(); var context = new HealthCheckContext { - Registration = new("Test", sut, HealthStatus.Unhealthy, null) + Registration = new("Test", sut, HealthStatus.Unhealthy, null), }; // Act diff --git a/src/HealthChecks/tests/NetEvolve.HealthChecks.Tests.Unit/ApplicationSelfCheckTests.cs b/src/HealthChecks/tests/NetEvolve.HealthChecks.Tests.Unit/ApplicationSelfCheckTests.cs index c80e36ac..f25795e6 100644 --- a/src/HealthChecks/tests/NetEvolve.HealthChecks.Tests.Unit/ApplicationSelfCheckTests.cs +++ b/src/HealthChecks/tests/NetEvolve.HealthChecks.Tests.Unit/ApplicationSelfCheckTests.cs @@ -33,7 +33,7 @@ public async Task CheckHealthAsync_WhenArgumentCancellationToken_ReturnsHealthy( var cancellationToken = new CancellationToken(); var context = new HealthCheckContext { - Registration = new("Test", sut, HealthStatus.Unhealthy, null) + Registration = new("Test", sut, HealthStatus.Unhealthy, null), }; // Act @@ -51,7 +51,7 @@ public async Task CheckHealthAsync_WhenArgumentCancellationTokenIsCancelled_Retu var cancellationToken = new CancellationToken(true); var context = new HealthCheckContext { - Registration = new("Test", sut, HealthStatus.Unhealthy, null) + Registration = new("Test", sut, HealthStatus.Unhealthy, null), }; // Act