Bump danielpalme/ReportGenerator-GitHub-Action from 5.3.10 to 5.3.11 in /.github/workflows #1501
GitHub Actions / Unit tests
succeeded
Oct 11, 2024 in 0s
259 passed, 0 failed and 0 skipped
✅ ./src/HomeInventory/coverage/_fv-az2026-595_2024-10-11_22_43_10.trx
259 tests were completed in 9s with 259 passed, 0 failed and 0 skipped.
✅ 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 = 01J9YW02GGHY8E9B260016QZBD, Token = Token3e648a17-aa79-48c0-ae37-0cecc654130e }, destination: typeof(HomeInventory.Contracts.LoginResponse))
✅ ShouldMap(instance: LoginRequest { Email = Email90e9bd1a-b2bf-4469-ab90-0ce8cef59308, Password = Password71612131-837d-42bd-8989-86b7b5077223 }, destination: typeof(HomeInventory.Application.Cqrs.Queries.Authenticate.AuthenticateQuery))
✅ HomeInventory.Tests.Systems.Mapping.ModelMappingsTests
✅ ShouldMap(instance: 01J9YW03Q0PAVRBM6QR15XJX58, destination: typeof(System.Ulid))
✅ ShouldMap(instance: 01J9YW03Q0SG6VJ7D9QVVMXD5T, destination: typeof(HomeInventory.Domain.ValueObjects.ProductId))
✅ ShouldMap(instance: Amount { Unit = Gallon (01J9YW029JBJM9Z7XC43V165SS), Value = 52 }, destination: typeof(HomeInventory.Infrastructure.Persistence.Models.ProductAmountModel))
✅ ShouldMap(instance: ProductAmountModel { UnitName = "Kelvin", Value = 114 }, 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: 01J9YW03DJVM6TSHENTEW3SBTK, destination: typeof(System.Ulid))
✅ ShouldMap(instance: RegisterRequest { Email = Email01178d90-ae0c-4149-b4c6-940c1be43aed, Password = Password60dc6ce0-f2c5-49e3-a7cb-420d4479495a }, destination: typeof(HomeInventory.Application.Cqrs.Queries.UserId.UserIdQuery))
✅ ShouldMap(instance: RegisterRequest { Email = Email26952468-647a-4c7b-a82d-c42bb8f5a1b4, Password = Password669ed9be-c319-4714-909d-32b6600e576f }, destination: typeof(HomeInventory.Application.Cqrs.Commands.Register.RegisterCommand))
✅ ShouldMap(instance: UserIdResult { UserId = 01J9YW03DKQDWAK842WTGNKZ69 }, destination: typeof(HomeInventory.Contracts.RegisterResponse))
✅ HomeInventory.Tests.Systems.Mapping.UserManagementModelMappingsTests
✅ ShouldMap(instance: "0a118095-afa8-41c5-8b15-3a6939ebfefa", destination: typeof(HomeInventory.Domain.ValueObjects.Email))
✅ ShouldMap(instance: 01J9YW03EB297Z2TFSKET9YW2H, destination: typeof(HomeInventory.Domain.ValueObjects.UserId))
✅ ShouldMap(instance: 01J9YW03EBACEGKCX88VJDE4PJ, destination: typeof(System.Ulid))
✅ ShouldMap(instance: [email protected], destination: typeof(string))
✅ ShouldMap(instance: User { Email = [email protected], Id = 01J9YW03EBEDSDD2V2Q9V5DEK6, Password = "Passworda31402d8-9791-400c-9c8b-4be47ba3c522" }, destination: typeof(HomeInventory.Infrastructure.Persistence.Models.UserModel))
✅ ShouldMap(instance: UserModel { CreatedOn = 2025-08-26T08:34:18.7526051+00:00, Email = "Email0cd0430f-3ce3-41a6-9454-a1d1c1156863", Id = 01J9YW03ECY4DR0F5YKAKCNB6Q, ModifiedOn = 2024-03-11T13:57:45.8024356+00:00, Password = "Passwordd0dfd04a-f2f7-4d19-b31c-cf17021878ab" }, 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$")
Loading