File: ConfigurationTests.cs
Web Access
Project: src\tests\Aspire.Microsoft.Azure.Cosmos.Tests\Aspire.Microsoft.Azure.Cosmos.Tests.csproj (Aspire.Microsoft.Azure.Cosmos.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.Azure.Cosmos.Tests;
 
public class ConfigurationTests
{
    [Fact]
    public void ConnectionStringIsNullByDefault()
        => Assert.Null(new MicrosoftAzureCosmosSettings().ConnectionString);
 
    [Fact]
    public void TracingIsEnabledByDefault()
        => Assert.False(new MicrosoftAzureCosmosSettings().DisableTracing);
}