[deps] tests: Update NSubstitute to 5.3.0 #42
+1
−1
Merged
GitHub Actions / Test Results
succeeded
Nov 11, 2024 in 0s
45 passed, 0 failed and 2 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
extensions/Bitwarden.Core/tests/TestResults/test-results.trx | 3✅ | 13s | ||
extensions/Bitwarden.Extensions.Configuration/tests/TestResults/test-results.trx | 2⚪ | 12s | ||
extensions/Bitwarden.Extensions.Hosting/tests/TestResults/test-results.trx | 42✅ | 6s |
✅ extensions/Bitwarden.Core/tests/TestResults/test-results.trx
3 tests were completed in 13s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Bitwarden.Core.Tests.AccessTokenTests | 1✅ | 20ms | ||
Bitwarden.Extensions.Configuration.Tests.AccessTokenTests | 1✅ | 12ms | ||
Bitwarden.Extensions.Configuration.Tests.EncryptedStringTests | 1✅ | 16ms |
✅ 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 12s 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 6s with 42 passed, 0 failed and 0 skipped.
✅ 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")
Loading