| File: ConfigurationTests.cs | Web Access |
| Project: src\tests\Aspire.Microsoft.Data.SqlClient.Tests\Aspire.Microsoft.Data.SqlClient.Tests.csproj (Aspire.Microsoft.Data.SqlClient.Tests) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Xunit; namespace Aspire.Microsoft.Data.SqlClient.Tests; public class ConfigurationTests { [Fact] public void ConnectionStringIsNullByDefault() => Assert.Null(new MicrosoftDataSqlClientSettings().ConnectionString); [Fact] public void HealthCheckIsEnabledByDefault() => Assert.False(new MicrosoftDataSqlClientSettings().DisableHealthChecks); [Fact] public void TracingIsEnabledByDefault() => Assert.False(new MicrosoftDataSqlClientSettings().DisableTracing); }