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 System.IdentityModel.Tokens.Jwt from 8.2.1 to 8.3.0 in /src/HomeInventory #1052

Bump System.IdentityModel.Tokens.Jwt in /src/HomeInventory

1c55197
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Bump System.IdentityModel.Tokens.Jwt from 8.2.1 to 8.3.0 in /src/HomeInventory #1052

Bump System.IdentityModel.Tokens.Jwt in /src/HomeInventory
1c55197
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit tests succeeded Dec 5, 2024 in 0s

259 passed, 0 failed and 0 skipped

Tests passed successfully

✅ ./src/HomeInventory/coverage/_fv-az881-174_2024-12-05_18_47_50.trx

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

Test suite Passed Failed Skipped Time
HomeInventory.Tests.Application.FeatureFlagTests 8✅ 30ms
HomeInventory.Tests.Core.EnumerableExtensionsTests 3✅ 10ms
HomeInventory.Tests.Core.ExecuteTests 6✅ 21ms
HomeInventory.Tests.Core.OptionExtensionsTests 3✅ 1s
HomeInventory.Tests.Core.ReflectionMethodsTests 4✅ 1ms
HomeInventory.Tests.Core.TypeExtensionsTests 4✅ 3ms
HomeInventory.Tests.DependencyInjection.ApplicationDependencyInjectionTests 1✅ 105ms
HomeInventory.Tests.DependencyInjection.DomainDependencyInjectionTests 1✅ 1ms
HomeInventory.Tests.DependencyInjection.InfrastructureDependencyInjectionTests 1✅ 147ms
HomeInventory.Tests.DependencyInjection.UserManagementInfrastructureDependencyInjectionTests 1✅ 33ms
HomeInventory.Tests.DependencyInjection.WebDependencyInjectionTests 2✅ 194ms
HomeInventory.Tests.Domain.EntityTests 14✅ 16ms
HomeInventory.Tests.Domain.EquatableComponentTests 14✅ 70ms
HomeInventory.Tests.Domain.FixedDateTimeServiceTests 3✅ 2ms
HomeInventory.Tests.Domain.ValueObjects.AmountFactoryTests 5✅ 11ms
HomeInventory.Tests.Domain.ValueObjects.AmountTests 3✅ 3ms
HomeInventory.Tests.Domain.ValueObjects.AmountUnitTests 6✅ 28ms
HomeInventory.Tests.Domain.ValueObjects.MeasurementTypeTests 5✅ 5ms
HomeInventory.Tests.Framework.Assertions.JsonElementAssertionsTests 3✅ 9ms
HomeInventory.Tests.Framework.Assertions.ObjectExtensionsTests 4✅ 3ms
HomeInventory.Tests.Framework.Assertions.ServiceDescriptorExtensionsTests 3✅ 2ms
HomeInventory.Tests.Framework.Customizations.ApiBehaviorOptionsCustomizationTests 1✅ 2ms
HomeInventory.Tests.Framework.Customizations.RegisterRequestCustomizationTests 1✅ 11ms
HomeInventory.Tests.Middlewares.CorrelationIdContainerTests 3✅ 20ms
HomeInventory.Tests.Middlewares.CorrelationIdMiddlewareTests 7✅ 148ms
HomeInventory.Tests.Presentation.Web.SectionPathTests 2✅ 5ms
HomeInventory.Tests.Systems.Authentication.BCryptPasswordHasherTests 3✅ 111ms
HomeInventory.Tests.Systems.Authentication.GuidJwtIdentityGeneratorTests 2✅ 1ms
HomeInventory.Tests.Systems.Authentication.JwtBearerOptionsSetupTests 1✅ 79ms
HomeInventory.Tests.Systems.Authentication.JwtTokenGeneratorTests 1✅ 76ms
HomeInventory.Tests.Systems.Handlers.AuthenticateQueryHandlerTests 3✅ 38ms
HomeInventory.Tests.Systems.Handlers.LoggingBehaviorTests 4✅ 33ms
HomeInventory.Tests.Systems.Handlers.RegisterCommandHandlerTests 2✅ 263ms
HomeInventory.Tests.Systems.Handlers.UnitOfWorkBehaviorTests 4✅ 63ms
HomeInventory.Tests.Systems.Handlers.UserIdQueryHandlerTests 2✅ 16ms
HomeInventory.Tests.Systems.Mapping.ContractsMappingsTests 2✅ 6ms
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests 4✅ 14ms
HomeInventory.Tests.Systems.Mapping.UlidIdConverterTests 3✅ 36ms
HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests 5✅ 117ms
HomeInventory.Tests.Systems.Mapping.UserManagementModelMappingsTests 8✅ 31ms
HomeInventory.Tests.Systems.Modules.AuthenticationModuleTests 3✅ 214ms
HomeInventory.Tests.Systems.Modules.ErrorMappingTests 6✅ 10ms
HomeInventory.Tests.Systems.Modules.HomeInventoryProblemDetailsFactoryTests 14✅ 36ms
HomeInventory.Tests.Systems.Modules.JsonOpenApiValueConverterTests 4✅ 12ms
HomeInventory.Tests.Systems.Modules.SwaggerDefaultValuesTests 10✅ 118ms
HomeInventory.Tests.Systems.Modules.UserManagementModuleTests 3✅ 33ms
HomeInventory.Tests.Systems.Persistence.AmountValueObjectConverterTests 1✅ 10ms
HomeInventory.Tests.Systems.Persistence.ByIdFilterSpecificationTests 4✅ 449ms
HomeInventory.Tests.Systems.Persistence.EventsPersistenceServiceTests 1✅ 617ms
HomeInventory.Tests.Systems.Persistence.OutboxMessageConfigurationTests 2✅ 106ms
HomeInventory.Tests.Systems.Persistence.PersistenceHealthCheckTests 3✅ 47ms
HomeInventory.Tests.Systems.Persistence.RepositoryTests 14✅ 178ms
HomeInventory.Tests.Systems.Persistence.UserHasEmailSpecificationTests 2✅ 60ms
HomeInventory.Tests.Systems.Persistence.UserModelConfigurationTests 1✅ 5ms
HomeInventory.Tests.Systems.Persistence.UserRepositoryTests 4✅ 1s
HomeInventory.Tests.Validation.LoginRequestValidatorTests 6✅ 2ms
HomeInventory.Tests.Validation.PasswordValidatorTests 18✅ 77ms
HomeInventory.Tests.Validation.RegisterRequestValidatorTests 11✅ 78ms

✅ HomeInventory.Tests.Application.FeatureFlagTests

✅ ConstructorShouldPreserveName
✅ CreateShouldPreserveName
✅ CreateWithContextShouldPreserveName
✅ IsEnabledContextShouldReturnManagerValue(expectedValue: False)
✅ IsEnabledContextShouldReturnManagerValue(expectedValue: True)
✅ IsEnabledShouldReturnManagerValue(expectedValue: False)
✅ IsEnabledShouldReturnManagerValue(expectedValue: True)
✅ WithContextShouldReturn

✅ HomeInventory.Tests.Core.EnumerableExtensionsTests

✅ Concat Should AddItemAtTheEnd
✅ EmptyIfNull Should ReturnEmpty When Null
✅ EmptyIfNull Should ReturnOriginal When NotNull

✅ HomeInventory.Tests.Core.ExecuteTests

✅ AndCatch ShouldCatchExceptionAndReturnResult
✅ AndCatch ShouldReturnResult
✅ AndCatchAsync ShouldCatchException
✅ AndCatchAsync ShouldCatchExceptionAndReturnResult
✅ AndCatchAsync ShouldExecuteAction
✅ AndCatchAsync ShouldReturnResult

✅ HomeInventory.Tests.Core.OptionExtensionsTests

✅ Tap ShouldInvokeAction WhenOptionalHasValue
✅ Tap2 ShouldInvokeAction WhenOptionalHasValue
✅ Tap3 ShouldInvokeAction WhenOptionalHasValue

✅ HomeInventory.Tests.Core.ReflectionMethodsTests

✅ CreateInstance ShouldCreate When InternalCtorAndArg
✅ CreateInstance ShouldCreate When InternalCtorAndNoArgs
✅ CreateInstance ShouldCreate When PublicCtorAndArg
✅ CreateInstance ShouldCreate When PublicCtorAndNoArgs

✅ HomeInventory.Tests.Core.TypeExtensionsTests

✅ GetFieldsOfType Should ReturnValues
✅ GetFormattedName Should FormatGeneric
✅ GetFormattedName Should FormatGeneric2
✅ GetFormattedName Should NotFormatNonGeneric

✅ HomeInventory.Tests.DependencyInjection.ApplicationDependencyInjectionTests

✅ ShouldRegister

✅ HomeInventory.Tests.DependencyInjection.DomainDependencyInjectionTests

✅ ShouldRegister

✅ HomeInventory.Tests.DependencyInjection.InfrastructureDependencyInjectionTests

✅ ShouldRegister

✅ HomeInventory.Tests.DependencyInjection.UserManagementInfrastructureDependencyInjectionTests

✅ ShouldRegister

✅ HomeInventory.Tests.DependencyInjection.WebDependencyInjectionTests

✅ ShouldRegister
✅ ShouldUse

✅ HomeInventory.Tests.Domain.EntityTests

✅ EqualsObject Should ReturnFalseWhenOtherHasDifferentId
✅ EqualsObject Should ReturnFalseWhenOtherHasDifferentType
✅ EqualsObject Should ReturnFalseWhenOtherIsNull
✅ EqualsObject Should ReturnTrueWhenOtherHasSameId
✅ EqualsObject Should ReturnTrueWhenSameReference
✅ EqualsTEntity Should ReturnFalseWhenOtherHasDifferentId
✅ EqualsTEntity Should ReturnFalseWhenOtherIsNull
✅ EqualsTEntity Should ReturnTrueWhenOtherHasSameId
✅ EqualsTEntity Should ReturnTrueWhenSameReference
✅ GetHashCode Should ReturnGetHashCodeFromId
✅ OpEquals Should ReturnFalseWhenOtherHasDifferentId
✅ OpEquals Should ReturnTrueWhenOtherHasSameId
✅ OpNotEquals Should ReturnFalseWhenOtherHasSameId
✅ OpNotEquals Should ReturnTrueWhenOtherHasDifferentId

✅ HomeInventory.Tests.Domain.EquatableComponentTests

✅ Equals ShoudBeEqualToComponentWithSameItems WhenManyComponents(count: 1)
✅ Equals ShoudBeEqualToComponentWithSameItems WhenManyComponents(count: 2)
✅ Equals ShoudBeEqualToComponentWithSameItems WhenManyComponents(count: 3)
✅ Equals ShoudBeEqualToEmpty WhenNoComponents
✅ Equals ShoudNotBeEqualToComponentWithDifferentItems WhenManyComponents(count: 1)
✅ Equals ShoudNotBeEqualToComponentWithDifferentItems WhenManyComponents(count: 2)
✅ Equals ShoudNotBeEqualToComponentWithDifferentItems WhenManyComponents(count: 3)
✅ Equals ShoudNotBeEqualToEmpty WhenManyComponents(count: 1)
✅ Equals ShoudNotBeEqualToEmpty WhenManyComponents(count: 2)
✅ Equals ShoudNotBeEqualToEmpty WhenManyComponents(count: 3)
✅ GetHashCode ShoudReturnCombinedComponentsHash WhenManyComponents(count: 1)
✅ GetHashCode ShoudReturnCombinedComponentsHash WhenManyComponents(count: 2)
✅ GetHashCode ShoudReturnCombinedComponentsHash WhenManyComponents(count: 3)
✅ GetHashCode ShoudReturnZero WhenNoComponents

✅ HomeInventory.Tests.Domain.FixedDateTimeServiceTests

✅ UtcNow ShouldReturnSuppliedTime
✅ UtcNow ShouldReturnSuppliedTimeFromOther
✅ UtcNow ShouldReturnSuppliedTimeInUTC

✅ HomeInventory.Tests.Domain.ValueObjects.AmountFactoryTests

✅ Create Should Return Amount When ValueIsValid
✅ Create Should Return Error When PieceIsFractional
✅ Create Should Return Error When ValueIsNegative
✅ Create Should Return Value When UnknownMeasurementType
✅ Create Should Return Value When UnknownUnit

✅ HomeInventory.Tests.Domain.ValueObjects.AmountTests

✅ Equals Should ReturnTrueIfSameValueAndUnit
✅ OpEquality Should ReturnTrueIfSameValueAndUnit
✅ OpInequality Should ReturnFalseIfSameValueAndUnit

✅ HomeInventory.Tests.Domain.ValueObjects.AmountUnitTests

✅ CanBeUsedAsDictionaryKey
✅ CreatedScaledShouldContainSuppliedId
✅ CreatedShouldContainSuppliedId
✅ CreateShouldPassTheCallerMemberNameAndType
✅ FieldsShoulHaveMatchedName
✅ Items Should NotBeEmpty

✅ HomeInventory.Tests.Domain.ValueObjects.MeasurementTypeTests

✅ CanBeUsedAsDictionaryKey
✅ CreatedShouldContainSuppliedId
✅ CreateShouldPassTheCallerMemberName
✅ FieldsShoulHaveMatchedName
✅ Items Should NotBeEmpty

✅ HomeInventory.Tests.Framework.Assertions.JsonElementAssertionsTests

✅ BeArrayEqualTo ShoudPass WhenBothEmpty
✅ BeArrayEqualTo ShoudPass WhenBothHasSameValue
✅ BeArrayEqualTo ShoudPass WhenBothNull

✅ HomeInventory.Tests.Framework.Assertions.ObjectExtensionsTests

✅ GetComparer ShouldReturnForNumeric
✅ GetComparer ShouldReturnForObject
✅ GetComparer ShouldReturnForReferenceType
✅ GetComparer ShouldReturnForValueType

✅ HomeInventory.Tests.Framework.Assertions.ServiceDescriptorExtensionsTests

✅ GetInstance ShouldReturnFromImplementationFactory
✅ GetInstance ShouldReturnFromImplementationInstance
✅ GetInstance ShouldReturnFromImplementationType

✅ HomeInventory.Tests.Framework.Customizations.ApiBehaviorOptionsCustomizationTests

✅ Customize Should ProvideCorrectCustomization

✅ HomeInventory.Tests.Framework.Customizations.RegisterRequestCustomizationTests

✅ Customize Should ProvideCorrectCustomization

✅ HomeInventory.Tests.Middlewares.CorrelationIdContainerTests

✅ CorrelationId Should NotBeEmpty When Created
✅ GenerateNew Should UpdateCorrelationId
✅ SetExisting Should UpdateCorrelationId

✅ HomeInventory.Tests.Middlewares.CorrelationIdMiddlewareTests

✅ InvokeAsync Should AddCorrelationIdToResponse
✅ InvokeAsync Should AwaitNext
✅ InvokeAsync Should CallNext
✅ InvokeAsync Should CreateCorrelationId When HeaderIsNotSet
✅ InvokeAsync Should NotSetCorrelationIdFromHeaders When ValueIsWrong(unexpectedId: "")
✅ InvokeAsync Should NotSetCorrelationIdFromHeaders When ValueIsWrong(unexpectedId: null)
✅ InvokeAsync Should SetCorrelationIdFromHeaders

✅ HomeInventory.Tests.Presentation.Web.SectionPathTests

✅ Divide Should ReturnCombinedPath
✅ ToString Should ReturnPath

✅ HomeInventory.Tests.Systems.Authentication.BCryptPasswordHasherTests

✅ HashAsync ShouldReturnDifferentHashesForDifferentInputs
✅ HashAsync ShouldReturnSomethingDifferentFromInput
✅ VerifyAsync ShouldConfirmHashed

✅ HomeInventory.Tests.Systems.Authentication.GuidJwtIdentityGeneratorTests

✅ GenerateNew Should ReturnNewValue WhenCalledSecondTime
✅ GenerateNew Should ReturnNotEmpty

✅ HomeInventory.Tests.Systems.Authentication.JwtBearerOptionsSetupTests

✅ Configure Should SetupOptions

✅ HomeInventory.Tests.Systems.Authentication.JwtTokenGeneratorTests

✅ GenerateTokenAsync Should GenerateCorrectTokenString

✅ HomeInventory.Tests.Systems.Handlers.AuthenticateQueryHandlerTests

✅ Handle OnBadPassword ReturnsError
✅ Handle OnNotFound ReturnsError
✅ Handle OnSuccess ReturnsResult

✅ HomeInventory.Tests.Systems.Handlers.LoggingBehaviorTests

✅ Handle Should LogAfterCallingNext
✅ Handle Should LogBeforeCallingNext
✅ Handle Should ReturnResponseFromNext
✅ Should BeResolved

✅ HomeInventory.Tests.Systems.Handlers.RegisterCommandHandlerTests

✅ Handle OnFailure ReturnsError
✅ Handle OnSuccess ReturnsResult

✅ HomeInventory.Tests.Systems.Handlers.UnitOfWorkBehaviorTests

✅ Handle Should CallSave When Success
✅ Handle Should NotCallSave When Error
✅ Handle Should ReturnResponseFromNext
✅ Should BeResolvedForCommand

✅ HomeInventory.Tests.Systems.Handlers.UserIdQueryHandlerTests

✅ Handle OnNotFound ReturnsError
✅ Handle OnSuccess ReturnsResult

✅ HomeInventory.Tests.Systems.Mapping.ContractsMappingsTests

✅ ShouldMap(instance: AuthenticateResult { Id = 01JEC2CQJAPJCHA4M7EHY9YWDZ, Token = Token6d75346b-cd7e-434f-9e44-147e8685287b }, destination: typeof(HomeInventory.Contracts.LoginResponse))
✅ ShouldMap(instance: LoginRequest { Email = Email08db8e53-11df-45ca-8f50-13ff7c8f63dc, Password = Password963fcd4c-6b2f-424f-95fa-cd16bc419f5a }, destination: typeof(HomeInventory.Application.Cqrs.Queries.Authenticate.AuthenticateQuery))

✅ HomeInventory.Tests.Systems.Mapping.ModelMappingsTests

✅ ShouldMap(instance: 01JEC2CPWZ0JPH7S66EQPNQDSF, destination: typeof(System.Ulid))
✅ ShouldMap(instance: 01JEC2CPWZWPVME5V5SQ7VGMP4, destination: typeof(HomeInventory.Domain.ValueObjects.ProductId))
✅ ShouldMap(instance: Amount { Unit = Teaspoon (01JEC2CP44YF8YFH6D7MYEQKMH), Value = 202 }, destination: typeof(HomeInventory.Infrastructure.Persistence.Models.ProductAmountModel))
✅ ShouldMap(instance: ProductAmountModel { UnitName = "MilliLiter", Value = 167 }, destination: typeof(HomeInventory.Domain.ValueObjects.Amount))

✅ HomeInventory.Tests.Systems.Mapping.UlidIdConverterTests

✅ Convert Should Throw When IdIsEmpty
✅ TryConvert Should ReturnError When IdIsEmpty
✅ TryConvert Should ReturnValue When IdIsNotEmpty

✅ HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests

✅ ShouldMap(instance: [email protected], destination: typeof(string))
✅ ShouldMap(instance: 01JEC2CPMZ99VT7XRZ4ETHF9GE, destination: typeof(System.Ulid))
✅ ShouldMap(instance: RegisterRequest { Email = Email102f711e-939b-4a37-85e0-1b8795cfde4c, Password = Passwordaaeafe78-2432-48ba-8cb7-82a91281230f }, destination: typeof(HomeInventory.Application.Cqrs.Queries.UserId.UserIdQuery))
✅ ShouldMap(instance: RegisterRequest { Email = Email9396eb11-56c1-40f2-aa69-49193d9023f7, Password = Password6304bc5a-f105-4730-ab66-3ec186110afb }, destination: typeof(HomeInventory.Application.Cqrs.Commands.Register.RegisterCommand))
✅ ShouldMap(instance: UserIdResult { UserId = 01JEC2CPN0RFS0NH7Q43M38SBX }, destination: typeof(HomeInventory.Contracts.RegisterResponse))

✅ HomeInventory.Tests.Systems.Mapping.UserManagementModelMappingsTests

✅ ShouldMap(instance: "ed11bd3e-beb9-4cfd-9ccc-4d5495f6f93c", destination: typeof(HomeInventory.Domain.ValueObjects.Email))
✅ ShouldMap(instance: [email protected], destination: typeof(string))
✅ ShouldMap(instance: 01JEC2CQ9R80GG0Y53FPNQD0K0, destination: typeof(System.Ulid))
✅ ShouldMap(instance: 01JEC2CQ9RQHVYH46KH64SCB7N, destination: typeof(HomeInventory.Domain.ValueObjects.UserId))
✅ ShouldMap(instance: User { Email = [email protected], Id = 01JEC2CQ9R4Z34T4R65ZK2WB2T, Password = "Password2c0cc6b6-f2cd-455c-8067-4c208dce182d" }, destination: typeof(HomeInventory.Infrastructure.Persistence.Models.UserModel))
✅ ShouldMap(instance: UserModel { CreatedOn = 2024-07-10T20:01:04.3794398+00:00, Email = "Email2e0c6084-a94f-4ddf-a957-529d88c8b1ed", Id = 01JEC2CQ9SCMYE40MQSHB15KAD, ModifiedOn = 2024-06-17T21:32:48.5594894+00:00, Password = "Passwordde3320ac-c2b2-467d-a989-9ee69465600a" }, destination: typeof(HomeInventory.Domain.Aggregates.User))
✅ ShouldMapUserModelToUser
✅ ShouldProjectUserModelToUser

✅ HomeInventory.Tests.Systems.Modules.AuthenticationModuleTests

✅ AddRoutes ShouldRegister
✅ LoginAsync OnFailure ReturnsError
✅ LoginAsync OnSuccess ReturnsHttp200

✅ HomeInventory.Tests.Systems.Modules.ErrorMappingTests

✅ GetDefaultError Shoud Return500
✅ GetError Shoud ReturnExpected When Error(errorType: null, expected: InternalServerError)
✅ GetError Shoud ReturnExpected When Error(errorType: typeof(HomeInventory.Domain.Errors.DuplicateEmailError), expected: Conflict)
✅ GetError Shoud ReturnExpected When Error(errorType: typeof(HomeInventory.Domain.Primitives.Errors.ConflictError), expected: Conflict)
✅ GetError Shoud ReturnExpected When Error(errorType: typeof(HomeInventory.Domain.Primitives.Errors.NotFoundError), expected: NotFound)
✅ GetError Shoud ReturnExpected When Error(errorType: typeof(HomeInventory.Domain.Primitives.Errors.ValidationError), expected: BadRequest)

✅ HomeInventory.Tests.Systems.Modules.HomeInventoryProblemDetailsFactoryTests

✅ ConvertToProblem Should Convert When MultipleDifferentErrors
✅ ConvertToProblem Should Convert When SingleError
✅ ConvertToProblem Should ConvertWithCorrectStatus When MultipleSimilarErrors
✅ ConvertToProblem Should ThrowInvalidOperationException When NoErrors
✅ CreateProblemDetails Should PassValues
✅ CreateProblemDetails Should SetDefaultsForStatusCode
✅ CreateProblemDetails Should SetDefaultStatusTo500
✅ CreateProblemDetails Should SetTraceIdentifierFromContextWhenNoCurrentActivity
✅ CreateProblemDetails Should SetTraceIdentifierFromCurrentActivity
✅ CreateValidationProblemDetails Should PassValues
✅ CreateValidationProblemDetails Should SetDefaultsForStatusCode
✅ CreateValidationProblemDetails Should SetDefaultStatusTo400
✅ CreateValidationProblemDetails Should SetTraceIdentifierFromContextWhenNoCurrentActivity
✅ CreateValidationProblemDetails Should SetTraceIdentifierFromCurrentActivity

✅ HomeInventory.Tests.Systems.Modules.JsonOpenApiValueConverterTests

✅ Convert ShouldReturnNull WhenValueIsDbNull(expected: False)
✅ Convert ShouldReturnNull WhenValueIsDbNull(expected: True)
✅ Convert ShouldReturnNull WhenValueIsNull
✅ Convert ShouldReturnOpenApiNull WhenValueIsDbNull

✅ HomeInventory.Tests.Systems.Modules.SwaggerDefaultValuesTests

✅ Apply Should NotOverrideDefaultForParameter
✅ Apply Should NotOverrideDescriptionForParameter
✅ Apply Should NotUnsetDeprecated
✅ Apply Should NotUnSetRequiredForParameter
✅ Apply Should RemoveNotSupportedContentTypes(statusCode: 200)
✅ Apply Should RemoveNotSupportedContentTypes(statusCode: null)
✅ Apply Should SetDefaultForParameter
✅ Apply Should SetDeprecated
✅ Apply Should SetDescriptionForParameter
✅ Apply Should SetRequiredForParameter

✅ HomeInventory.Tests.Systems.Modules.UserManagementModuleTests

✅ AddRoutes ShouldRegister
✅ RegisterAsync OnFailure ReturnsError
✅ RegisterAsync OnSuccess ReturnsHttp200

✅ HomeInventory.Tests.Systems.Persistence.AmountValueObjectConverterTests

✅ TryConvert

✅ HomeInventory.Tests.Systems.Persistence.ByIdFilterSpecificationTests

✅ ExecuteAsync Should NotSatisfyWithWrongId
✅ ExecuteAsync Should SatisfyWithCorrectId
✅ Should NotSatisfyWithWrongId
✅ Should SatisfyWithCorrectId

✅ HomeInventory.Tests.Systems.Persistence.EventsPersistenceServiceTests

✅ SaveEvents ShouldPersistDomainEvents

✅ HomeInventory.Tests.Systems.Persistence.OutboxMessageConfigurationTests

✅ UserModel Should HaveContentConfigured
✅ UserModel Should HavePrimaryKey

✅ HomeInventory.Tests.Systems.Persistence.PersistenceHealthCheckTests

✅ CheckHealthAsync ShouldReturnDegraded WhenCannotConnect
✅ CheckHealthAsync ShouldReturnDegraded WhenThrows
✅ CheckHealthAsync ShouldReturnHealthy WhenCanConnect

✅ HomeInventory.Tests.Systems.Persistence.RepositoryTests

✅ AddAsync ShouldAdd
✅ AddRangeAsync ShouldAdd
✅ AnyAsync ShouldReturnFalse WhenNoModels
✅ AnyAsync ShouldReturnTrue WhenModelsStored
✅ CountAsync ShouldReturnCorrectCount(expectedCount: 0)
✅ CountAsync ShouldReturnCorrectCount(expectedCount: 1)
✅ CountAsync ShouldReturnCorrectCount(expectedCount: 2)
✅ CountAsync ShouldReturnCorrectCount(expectedCount: 3)
✅ DeleteAsync ShouldRemoveExisting
✅ DeleteRangeAsync ShouldRemoveExisting
✅ FindFirstOptionalAsync ShouldFindExisting
✅ FindFirstOptionalAsync ShouldNotFindNonExisting
✅ GetAllAsync ShouldReturnExpected
✅ HasAsync ShouldFindExisting

✅ HomeInventory.Tests.Systems.Persistence.UserHasEmailSpecificationTests

✅ Should NotSatisfyWithWrongEmail
✅ Should SatisfyWithCorrectEmail

✅ HomeInventory.Tests.Systems.Persistence.UserModelConfigurationTests

✅ UserModel Should HavePrimaryKey

✅ HomeInventory.Tests.Systems.Persistence.UserRepositoryTests

✅ AddAsync Should CreateUser AccordingToSpec
✅ FindFirstOrNotFoundAsync Should ReturnCorrectUser WhenUserAdded
✅ HasAsync Should ReturnTrue WhenUserAdded
✅ HasPermissionAsync Should ReturnTreu WhenUserAdded

✅ HomeInventory.Tests.Validation.LoginRequestValidatorTests

✅ Should NotPassValidation(email: "", password: "123456789sS$")
✅ Should NotPassValidation(email: "[email protected]", password: "")
✅ Should NotPassValidation(email: "[email protected]", password: null)
✅ Should NotPassValidation(email: "none.email", password: "123456789sS$")
✅ Should NotPassValidation(email: null, password: "123456789sS$")
✅ Should PassValidation(email: "[email protected]", password: "123456789sS$")

✅ HomeInventory.Tests.Validation.PasswordValidatorTests

✅ Should NotPassValidation(password: "")
✅ Should NotPassValidation(password: "0o.")
✅ Should NotPassValidation(password: "0O.")
✅ Should NotPassValidation(password: "0oO")
✅ Should NotPassValidation(password: "oO.")
✅ Should PassValidation(password: "0oO-")
✅ Should PassValidation(password: "0oO!")
✅ Should PassValidation(password: "0oO.")
✅ Should PassValidation(password: "0oO'")
✅ Should PassValidation(password: "0oO(")
✅ Should PassValidation(password: "0oO*")
✅ Should PassValidation(password: "0oO&")
✅ Should PassValidation(password: "0oO%")
✅ Should PassValidation(password: "0oO`")
✅ Should PassValidation(password: "0oO^")
✅ Should PassValidation(password: "0oO~")
✅ Should PassValidation(password: "0oO$")
✅ Should PassValidation(password: null)

✅ HomeInventory.Tests.Validation.RegisterRequestValidatorTests

✅ Should NotPassValidation(email: "", password: "123456789sS$")
✅ Should NotPassValidation(email: "[email protected]", password: "")
✅ Should NotPassValidation(email: "[email protected]", password: "123456789s$")
✅ Should NotPassValidation(email: "[email protected]", password: "123456789S$")
✅ Should NotPassValidation(email: "[email protected]", password: "123456789sS")
✅ Should NotPassValidation(email: "[email protected]", password: "1234sS$")
✅ Should NotPassValidation(email: "[email protected]", password: "sssssssssS$")
✅ Should NotPassValidation(email: "[email protected]", password: null)
✅ Should NotPassValidation(email: "none.email", password: "123456789sS$")
✅ Should NotPassValidation(email: null, password: "123456789sS$")
✅ Should PassValidation(email: "[email protected]", password: "123456789sS$")