Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Bitwarden.Server.Sdk version to 0.1.10-beta.2 #54

Closed

Merge branch 'main' into version-bump/Bitwarden.Server.Sdk-to-0.1.10-…

653a093
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Bump Bitwarden.Server.Sdk version to 0.1.10-beta.2 #54

Merge branch 'main' into version-bump/Bitwarden.Server.Sdk-to-0.1.10-…
653a093
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results succeeded Dec 5, 2024 in 0s

45 passed, 0 failed and 2 skipped

Tests passed successfully

Report Passed Failed Skipped Time
extensions/Bitwarden.Core/tests/TestResults/test-results.trx 3✅ 9s
extensions/Bitwarden.Extensions.Configuration/tests/TestResults/test-results.trx 2⚪ 4s
extensions/Bitwarden.Extensions.Hosting/tests/TestResults/test-results.trx 42✅ 5s

✅ extensions/Bitwarden.Core/tests/TestResults/test-results.trx

3 tests were completed in 9s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Bitwarden.Core.Tests.AccessTokenTests 1✅ 16ms
Bitwarden.Extensions.Configuration.Tests.AccessTokenTests 1✅ 12ms
Bitwarden.Extensions.Configuration.Tests.EncryptedStringTests 1✅ 18ms

✅ Bitwarden.Core.Tests.AccessTokenTests

✅ Test

✅ Bitwarden.Extensions.Configuration.Tests.AccessTokenTests

✅ StretchKey_Works

✅ Bitwarden.Extensions.Configuration.Tests.EncryptedStringTests

✅ Decrypt_Works

✅ extensions/Bitwarden.Extensions.Configuration/tests/TestResults/test-results.trx

2 tests were completed in 4s with 0 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
Bitwarden.Extensions.Configuration.Tests.SecretsManagerConfigurationProviderTests 2⚪ 2ms

✅ Bitwarden.Extensions.Configuration.Tests.SecretsManagerConfigurationProviderTests

⚪ Load_Reload_Works
⚪ Load_Simple_Works

✅ extensions/Bitwarden.Extensions.Hosting/tests/TestResults/test-results.trx

42 tests were completed in 5s with 42 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Bitwarden.Extensions.Hosting.Tests.Features.FeatureApplicationBuilderExtensionsTests 1✅ 466ms
Bitwarden.Extensions.Hosting.Tests.Features.FeatureCheckMiddlewareTests 11✅ 933ms
Bitwarden.Extensions.Hosting.Tests.Features.FeatureEndpointConventionBuilderExtensionsTests 3✅ 95ms
Bitwarden.Extensions.Hosting.Tests.Features.FeatureServiceCollectionExtensionsTests 4✅ 109ms
Bitwarden.Extensions.Hosting.Tests.Features.LaunchDarklyFeatureServiceTests 11✅ 612ms
Bitwarden.Extensions.Hosting.Tests.SelfHostedAttributeTests 4✅ 577ms
Bitwarden.Extensions.Hosting.Tests.Utilities.VersionInfoTests 8✅ 32ms

✅ Bitwarden.Extensions.Hosting.Tests.Features.FeatureApplicationBuilderExtensionsTests

✅ UseFeatureFlagChecks_RegistersMiddleware

✅ Bitwarden.Extensions.Hosting.Tests.Features.FeatureCheckMiddlewareTests

✅ FailedCheck_ReturnsProblemDetails
✅ HasMetadata_AllMustBeTrue(metadata: [], expectedStatusCode: 200)
✅ HasMetadata_AllMustBeTrue(metadata: [Flag = configured-false, Flag = configured-false], expectedStatusCode: 404)
✅ HasMetadata_AllMustBeTrue(metadata: [Flag = configured-false], expectedStatusCode: 404)
✅ HasMetadata_AllMustBeTrue(metadata: [Flag = configured-true, Flag = configured-false], expectedStatusCode: 404)
✅ HasMetadata_AllMustBeTrue(metadata: [Flag = configured-true, Flag = configured-true], expectedStatusCode: 200)
✅ HasMetadata_AllMustBeTrue(metadata: [Flag = configured-true], expectedStatusCode: 200)
✅ HasMetadata_AllMustBeTrue(metadata: [Flag = not-configured], expectedStatusCode: 404)
✅ NoCheck_CallsEndpoint
✅ NoEndpointInvokesPipeline
✅ SuccessfulCheck_CallsEndpoint

✅ Bitwarden.Extensions.Hosting.Tests.Features.FeatureEndpointConventionBuilderExtensionsTests

✅ RequireFeature_ChainedCall
✅ RequireFeature_WithCallback
✅ RequireFeature_WithFeatureKey

✅ Bitwarden.Extensions.Hosting.Tests.Features.FeatureServiceCollectionExtensionsTests

✅ AddFeatureFlagValues_MultipleTimes_AddMoreAndOverwritesExisting
✅ AddFeatureFlagValues_Works
✅ AddKnownFeatureFlags_MultipleTimes_AddsAll
✅ AddKnownFeatureFlags_Works

✅ Bitwarden.Extensions.Hosting.Tests.Features.LaunchDarklyFeatureServiceTests

✅ GetAll
✅ GetAll_OnlyReturnsKnownFlags
✅ GetIntVariation_PassesAlongDetails(defaultValue: -1)
✅ GetIntVariation_PassesAlongDetails(defaultValue: 0)
✅ GetIntVariation_PassesAlongDetails(defaultValue: 2147483647)
✅ GetStringVariation_PassesAlongDetails(defaultValue: "")
✅ GetStringVariation_PassesAlongDetails(defaultValue: "test")
✅ GetStringVariation_PassesAlongDetails(defaultValue: null)
✅ IsEnabled_MultipleCalls_BuildsContextOnce
✅ IsEnabled_PassesAlongDetails(defaultValue: False)
✅ IsEnabled_PassesAlongDetails(defaultValue: True)

✅ Bitwarden.Extensions.Hosting.Tests.SelfHostedAttributeTests

✅ NotSelfHosted_Success_When_NotSelfHosted
✅ NotSelfHosted_Throws_When_SelfHosted
✅ SelfHosted_Success_When_SelfHosted
✅ SelfHosted_Throws_When_NotSelfHosted

✅ Bitwarden.Extensions.Hosting.Tests.Utilities.VersionInfoTests

✅ TryParse_Fails(input: "")
✅ TryParse_Fails(input: "1.0.0+")
✅ TryParse_Fails(input: "1.0.0+af18")
✅ TryParse_Fails(input: "1.0.0+XXXXXXX")
✅ TryParse_Fails(input: null)
✅ TryParse_Works(input: "1.0.0", version: "1.0.0", gitHash: null)
✅ TryParse_Works(input: "1.0.0+af18b", version: "1.0.0", gitHash: "af18b")
✅ TryParse_Works(input: "1.0.0+af18b2952b5ddf910bd2f729a7c89a04b8d67084", version: "1.0.0", gitHash: "af18b2952b5ddf910bd2f729a7c89a04b8d67084")