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 Serilog, Serilog.AspNetCore, Serilog.Formatting.Compact, Serilog.Settings.Configuration, Serilog.Sinks.Console and Serilog.Sinks.File in /src/HomeInventory #930

Closed

Bump Serilog, Serilog.AspNetCore, Serilog.Formatting.Compact, Serilog…

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

Bump Serilog, Serilog.AspNetCore, Serilog.Formatting.Compact, Serilog.Settings.Configuration, Serilog.Sinks.Console and Serilog.Sinks.File in /src/HomeInventory #930

Bump Serilog, Serilog.AspNetCore, Serilog.Formatting.Compact, Serilog…
86ac82c
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit tests succeeded Aug 1, 2024 in 0s

294 passed, 0 failed and 0 skipped

Tests passed successfully

✅ ./src/HomeInventory/coverage/_fv-az1020-381_2024-08-01_18_15_31.trx

294 tests were completed in 8s with 294 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
HomeInventory.Tests.Application.FeatureFlagTests 8✅ 57ms
HomeInventory.Tests.Core.DictionaryExtensionsTests 2✅ 4ms
HomeInventory.Tests.Core.EnumerableExtensionsTests 3✅ 28ms
HomeInventory.Tests.Core.ExecuteTests 6✅ 7ms
HomeInventory.Tests.Core.OptionalExtensionsTests 3✅ 37ms
HomeInventory.Tests.Core.ReflectionMethodsTests 4✅ 9ms
HomeInventory.Tests.Core.TypeExtensionsTests 4✅ 6ms
HomeInventory.Tests.DependencyInjection.ApplicationDependencyInjectionTests 1✅ 40ms
HomeInventory.Tests.DependencyInjection.DomainDependencyInjectionTests 1✅ 86ms
HomeInventory.Tests.DependencyInjection.InfrastructureDependencyInjectionTests 1✅ 32ms
HomeInventory.Tests.DependencyInjection.UserManagementInfrastructureDependencyInjectionTests 1✅ 132ms
HomeInventory.Tests.DependencyInjection.WebDependencyInjectionTests 2✅ 946ms
HomeInventory.Tests.Domain.EntityTests 14✅ 16ms
HomeInventory.Tests.Domain.EquatableComponentTests 14✅ 32ms
HomeInventory.Tests.Domain.FixedDateTimeServiceTests 3✅ 2ms
HomeInventory.Tests.Domain.ValueObjects.AmountFactoryTests 9✅ 8ms
HomeInventory.Tests.Domain.ValueObjects.AmountTests 6✅ 5ms
HomeInventory.Tests.Domain.ValueObjects.AmountUnitTests 23✅ 8ms
HomeInventory.Tests.Domain.ValueObjects.MeasurementTypeTests 13✅ 2ms
HomeInventory.Tests.Framework.Assertions.JsonElementAssertionsTests 3✅ 16ms
HomeInventory.Tests.Framework.Assertions.ObjectExtensionsTests 4✅ 4ms
HomeInventory.Tests.Framework.Assertions.ServiceDescriptorExtensionsTests 3✅ 3ms
HomeInventory.Tests.Framework.Customizations.ApiBehaviorOptionsCustomizationTests 1✅ 2ms
HomeInventory.Tests.Framework.Customizations.RegisterRequestCustomizationTests 1✅ 52ms
HomeInventory.Tests.Middlewares.CorrelationIdContainerTests 3✅ 1ms
HomeInventory.Tests.Middlewares.CorrelationIdMiddlewareTests 7✅ 187ms
HomeInventory.Tests.Presentation.Web.SectionPathTests 2✅ 5ms
HomeInventory.Tests.Systems.Authentication.BCryptPasswordHasherTests 3✅ 199ms
HomeInventory.Tests.Systems.Authentication.GuidJwtIdentityGeneratorTests 2✅ 0ms
HomeInventory.Tests.Systems.Authentication.JwtBearerOptionsSetupTests 1✅ 107ms
HomeInventory.Tests.Systems.Authentication.JwtTokenGeneratorTests 1✅ 58ms
HomeInventory.Tests.Systems.Handlers.AuthenticateQueryHandlerTests 3✅ 36ms
HomeInventory.Tests.Systems.Handlers.LoggingBehaviorTests 4✅ 18ms
HomeInventory.Tests.Systems.Handlers.RegisterCommandHandlerTests 2✅ 267ms
HomeInventory.Tests.Systems.Handlers.UnitOfWorkBehaviorTests 4✅ 192ms
HomeInventory.Tests.Systems.Handlers.UserIdQueryHandlerTests 2✅ 6ms
HomeInventory.Tests.Systems.Mapping.ContractsMappingsTests 2✅ 5ms
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests 4✅ 16ms
HomeInventory.Tests.Systems.Mapping.UlidIdConverterTests 3✅ 98ms
HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests 5✅ 18ms
HomeInventory.Tests.Systems.Mapping.UserManagementModelMappingsTests 8✅ 318ms
HomeInventory.Tests.Systems.Modules.AuthenticationModuleTests 3✅ 120ms
HomeInventory.Tests.Systems.Modules.ErrorMappingTests 7✅ 48ms
HomeInventory.Tests.Systems.Modules.HomeInventoryProblemDetailsFactoryTests 14✅ 30ms
HomeInventory.Tests.Systems.Modules.JsonOpenApiValueConverterTests 4✅ 10ms
HomeInventory.Tests.Systems.Modules.SwaggerDefaultValuesTests 10✅ 50ms
HomeInventory.Tests.Systems.Modules.UserManagementModuleTests 3✅ 51ms
HomeInventory.Tests.Systems.Persistence.AmountValueObjectConverterTests 1✅ 12ms
HomeInventory.Tests.Systems.Persistence.ByIdFilterSpecificationTests 4✅ 437ms
HomeInventory.Tests.Systems.Persistence.EventsPersistenceServiceTests 1✅ 58ms
HomeInventory.Tests.Systems.Persistence.OutboxMessageConfigurationTests 2✅ 45ms
HomeInventory.Tests.Systems.Persistence.PersistenceHealthCheckTests 3✅ 99ms
HomeInventory.Tests.Systems.Persistence.RepositoryTests 14✅ 881ms
HomeInventory.Tests.Systems.Persistence.UserHasEmailSpecificationTests 2✅ 9ms
HomeInventory.Tests.Systems.Persistence.UserModelConfigurationTests 1✅ 156ms
HomeInventory.Tests.Systems.Persistence.UserRepositoryTests 4✅ 931ms
HomeInventory.Tests.Validation.LoginRequestValidatorTests 6✅ 23ms
HomeInventory.Tests.Validation.PasswordValidatorTests 18✅ 7ms
HomeInventory.Tests.Validation.RegisterRequestValidatorTests 11✅ 8ms

✅ HomeInventory.Tests.Application.FeatureFlagTests

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

✅ HomeInventory.Tests.Core.DictionaryExtensionsTests

✅ GetValueOptional2 Should ReturnDefaultValue WhenKeyIsNotPresent
✅ GetValueOptional2 Should ReturnValue WhenKeyIsPresent

✅ 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.OptionalExtensionsTests

✅ 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(unit: CubicMeter)
✅ Create Should Return Amount When ValueIsValid(unit: Gallon)
✅ Create Should Return Amount When ValueIsValid(unit: Piece)
✅ Create Should Return Error When PieceIsFractional
✅ Create Should Return Error When ValueIsNegative(unit: CubicMeter)
✅ Create Should Return Error When ValueIsNegative(unit: Gallon)
✅ Create Should Return Error When ValueIsNegative(unit: Piece)
✅ 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
✅ ToMetric Should ReturnMetricAmount(unit: CubicMeter)
✅ ToMetric Should ReturnMetricAmount(unit: Gallon)
✅ ToMetric Should ReturnMetricAmount(unit: Piece)

✅ HomeInventory.Tests.Domain.ValueObjects.AmountUnitTests

✅ CanBeUsedAsDictionaryKey(sut: CubicMeter)
✅ CanBeUsedAsDictionaryKey(sut: Cup)
✅ CanBeUsedAsDictionaryKey(sut: FluidDram)
✅ CanBeUsedAsDictionaryKey(sut: FluidOunce)
✅ CanBeUsedAsDictionaryKey(sut: Gallon)
✅ CanBeUsedAsDictionaryKey(sut: Gill)
✅ CanBeUsedAsDictionaryKey(sut: Kelvin)
✅ CanBeUsedAsDictionaryKey(sut: Liter)
✅ CanBeUsedAsDictionaryKey(sut: MicroLiter)
✅ CanBeUsedAsDictionaryKey(sut: MilliLiter)
✅ CanBeUsedAsDictionaryKey(sut: Minim)
✅ CanBeUsedAsDictionaryKey(sut: Piece)
✅ CanBeUsedAsDictionaryKey(sut: Pint)
✅ CanBeUsedAsDictionaryKey(sut: Pottle)
✅ CanBeUsedAsDictionaryKey(sut: Quart)
✅ CanBeUsedAsDictionaryKey(sut: Shot)
✅ CanBeUsedAsDictionaryKey(sut: Tablespoon)
✅ CanBeUsedAsDictionaryKey(sut: Teaspoon)
✅ Items Should NotBeEmpty
✅ PropertiesShouldMatch(sut: CubicMeter, name: "CubicMeter", type: Volume, isMetric: True)
✅ PropertiesShouldMatch(sut: Gallon, name: "Gallon", type: Volume, isMetric: False)
✅ PropertiesShouldMatch(sut: Kelvin, name: "Kelvin", type: Temperature, isMetric: True)
✅ PropertiesShouldMatch(sut: Piece, name: "Piece", type: Count, isMetric: True)

✅ HomeInventory.Tests.Domain.ValueObjects.MeasurementTypeTests

✅ CanBeUsedAsDictionaryKey(sut: Area)
✅ CanBeUsedAsDictionaryKey(sut: Count)
✅ CanBeUsedAsDictionaryKey(sut: Length)
✅ CanBeUsedAsDictionaryKey(sut: Temperature)
✅ CanBeUsedAsDictionaryKey(sut: Volume)
✅ CanBeUsedAsDictionaryKey(sut: Weight)
✅ Items Should NotBeEmpty
✅ PropertiesShouldMatch(sut: Area, name: "Area")
✅ PropertiesShouldMatch(sut: Count, name: "Count")
✅ PropertiesShouldMatch(sut: Length, name: "Length")
✅ PropertiesShouldMatch(sut: Temperature, name: "Temperature")
✅ PropertiesShouldMatch(sut: Volume, name: "Volume")
✅ PropertiesShouldMatch(sut: Weight, name: "Weight")

✅ 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 = 01J47JEZZMB2X97E528HS3R06C, Token = Token4a024103-9cb0-4e9d-b8ef-6ed48f687982 }, destination: typeof(HomeInventory.Contracts.LoginResponse))
✅ ShouldMap(instance: LoginRequest { Email = Emaild9c65928-57b7-459e-8bf6-dda25fdd5cb5, Password = Passwordc6141283-c853-4f91-b2df-d6c0a98ebbca }, destination: typeof(HomeInventory.Application.Cqrs.Queries.Authenticate.AuthenticateQuery))

✅ HomeInventory.Tests.Systems.Mapping.ModelMappingsTests

✅ ShouldMap(instance: 01J47JEZP95ERFJVPWB84SCFMV, destination: typeof(HomeInventory.Domain.ValueObjects.ProductId))
✅ ShouldMap(instance: 01J47JEZP9EKE0FPXWW7N8X251, destination: typeof(System.Ulid))
✅ ShouldMap(instance: Amount { Unit = Gallon, Value = 78 }, destination: typeof(HomeInventory.Infrastructure.Persistence.Models.ProductAmountModel))
✅ ShouldMap(instance: ProductAmountModel { UnitName = "Piece", Value = 32 }, 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: 01J47JEZPYY1KVZFJDE48MZF1Z, destination: typeof(System.Ulid))
✅ ShouldMap(instance: RegisterRequest { Email = Email482cc0b1-caa1-4505-b253-b8c240dd0e74, Password = Passworde65811fb-cbfc-4775-b11a-e148e6c7f1e5 }, destination: typeof(HomeInventory.Application.Cqrs.Queries.UserId.UserIdQuery))
✅ ShouldMap(instance: RegisterRequest { Email = Email8e53a409-b782-4e80-87c0-1395071e3d67, Password = Password6ad0c91c-31c7-438f-bedf-b477123201f0 }, destination: typeof(HomeInventory.Application.Cqrs.Commands.Register.RegisterCommand))
✅ ShouldMap(instance: UserIdResult { UserId = 01J47JEZPZD87VE1BTCZGFJY6N }, destination: typeof(HomeInventory.Contracts.RegisterResponse))

✅ HomeInventory.Tests.Systems.Mapping.UserManagementModelMappingsTests

✅ ShouldMap(instance: "d4da120d-2086-4ee9-b1c4-f852ca0f3bbd", destination: typeof(HomeInventory.Domain.ValueObjects.Email))
✅ ShouldMap(instance: 01J47JEYS9C9HGP8WC4V0S1R1X, destination: typeof(System.Ulid))
✅ ShouldMap(instance: 01J47JEYSAB3MBMT0P30B5ZJ9A, destination: typeof(HomeInventory.Domain.ValueObjects.UserId))
✅ ShouldMap(instance: [email protected], destination: typeof(string))
✅ ShouldMap(instance: User { Email = [email protected], Id = 01J47JEYSA90CSCSDSZJ5T0514, Password = "Password2ca550ac-3164-4c98-9c62-c9b0334094e2" }, destination: typeof(HomeInventory.Infrastructure.Persistence.Models.UserModel))
✅ ShouldMap(instance: UserModel { CreatedOn = 2024-04-30T08:35:02.8549446+00:00, Email = "Emaile66ddee8-f826-412f-834b-6a6e76274776", Id = 01J47JEYSA6EBV9P0D6M1PG0PQ, ModifiedOn = 2024-09-06T09:31:24.0999475+00:00, Password = "Password96b45ba3-35f0-4ffc-8681-da3de40d5565" }, 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.ObjectValidationError<string>), expected: BadRequest)
✅ 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$")