Skip to content

Update dependency FluentAssertions.Analyzers to v0.32.0 (#238) #382

Update dependency FluentAssertions.Analyzers to v0.32.0 (#238)

Update dependency FluentAssertions.Analyzers to v0.32.0 (#238) #382

GitHub Actions / .Net Tests succeeded May 23, 2024 in 1s

114 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
./tests-results/_fv-az2026-603_2024-05-23_19_42_18.trx 6✅ 9s
./tests-results/_fv-az2026-603_2024-05-23_19_42_18[1].trx 6✅ 10s
./tests-results/_fv-az2026-603_2024-05-23_19_42_18[2].trx 8✅ 10s
./tests-results/_fv-az2026-603_2024-05-23_19_42_18[3].trx 23✅ 10s
./tests-results/_fv-az2026-603_2024-05-23_19_42_22.trx 6✅ 3s
./tests-results/_fv-az2026-603_2024-05-23_19_42_24.trx 8✅ 5s
./tests-results/_fv-az2026-603_2024-05-23_19_42_25.trx 6✅ 6s
./tests-results/_fv-az2026-603_2024-05-23_19_42_25[1].trx 23✅ 5s
./tests-results/_fv-az2026-603_2024-05-23_19_42_27.trx 14✅ 4s
./tests-results/_fv-az2026-603_2024-05-23_19_42_29.trx 14✅ 3s

✅ ./tests-results/_fv-az2026-603_2024-05-23_19_42_18.trx

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

Test suite Passed Failed Skipped Time
DrifterApps.Seeds.Domain.Tests.DomainExceptionOfTTests 3✅ 28ms
DrifterApps.Seeds.Domain.Tests.DomainExceptionTests 3✅ 27ms

✅ DrifterApps.Seeds.Domain.Tests.DomainExceptionOfTTests

✅ Constructor_WithMessage_ShouldCreateInstanceWithMessage
✅ Constructor_WithMessageAndInnerException_ShouldCreateInstanceWithMessageAndInnerException
✅ Constructor_WithoutArguments_ShouldCreateInstance

✅ DrifterApps.Seeds.Domain.Tests.DomainExceptionTests

✅ Constructor_WithMessage_ShouldCreateInstanceWithMessage
✅ Constructor_WithMessageAndInnerException_ShouldCreateInstanceWithMessageAndInnerException
✅ Constructor_WithoutArguments_ShouldCreateInstance

✅ ./tests-results/_fv-az2026-603_2024-05-23_19_42_18[1].trx

6 tests were completed in 10s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DrifterApps.Seeds.Application.Tests.ClassTests 1✅ 95ms
DrifterApps.Seeds.Application.Tests.UserContextTests 5✅ 455ms

✅ DrifterApps.Seeds.Application.Tests.ClassTests

✅ Test

✅ DrifterApps.Seeds.Application.Tests.UserContextTests

✅ GivenGetUserId_WhenHttpContextIsNull_ThenReturnEmptyGuid
✅ GivenGetUserId_WhenUserHasNameIdentifierAndSubClaim_ThenReturnNameIdentifierClaim
✅ GivenGetUserId_WhenUserHasNameIdentifierClaim_ThenReturnNameIdentifierClaim
✅ GivenGetUserId_WhenUserHasNoClaims_ThenReturnEmptyGuid
✅ GivenGetUserId_WhenUserHasSubClaim_ThenReturnSubClaim

✅ ./tests-results/_fv-az2026-603_2024-05-23_19_42_18[2].trx

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

Test suite Passed Failed Skipped Time
DrifterApps.Seeds.Application.Mediatr.Tests.LoggingBehaviorTests 1✅ 271ms
DrifterApps.Seeds.Application.Mediatr.Tests.MediatRServiceConfigurationExtensionsTests 4✅ 467ms
DrifterApps.Seeds.Application.Mediatr.Tests.ValidationPreProcessorTests 3✅ 423ms

✅ DrifterApps.Seeds.Application.Mediatr.Tests.LoggingBehaviorTests

✅ Handle_WithRequest_LogsStartAndEnd

✅ DrifterApps.Seeds.Application.Mediatr.Tests.MediatRServiceConfigurationExtensionsTests

✅ GivenPing_WhenHitBack_ThenCommit
✅ GivenPing_WhenMissed_ThenRollback
✅ GivenPing_WhenNoFirstMessage_ThenValidatorIsCalledAndThrowsValidationException
✅ GivenRegisterServicesFromApplication_WhenInvoked_ThenRegisterServices

✅ DrifterApps.Seeds.Application.Mediatr.Tests.ValidationPreProcessorTests

✅ Process_WithInvalidRequest_ShouldThrowValidationException
✅ Process_WithNoValidators_ShouldNotThrowException
✅ Process_WithValidRequest_ShouldNotThrowException

✅ ./tests-results/_fv-az2026-603_2024-05-23_19_42_18[3].trx

23 tests were completed in 10s with 23 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DrifterApps.Seeds.Testing.Tests.Drivers.HttpClientDriverTests 20✅ 500ms
DrifterApps.Seeds.Testing.Tests.StepDefinitions.RootStepDefinitionTests 3✅ 474ms

✅ DrifterApps.Seeds.Testing.Tests.Drivers.HttpClientDriverTests

✅ GivenAuthenticateUser_WhenInvoked_ThenAuthorizationSet
✅ GivenCreateDriver_WhenHttpClientIsNull_ThenThrowsArgumentNullException
✅ GivenDeserializeContent_WhenResponseMessageContainsData_ThenReturnsData
✅ GivenDeserializeContent_WhenResponseMessageIsNull_ThenReturnsDefault
✅ GivenSendRequestAsync_WhenApiResourceIsNull_ThenThrowsArgumentNullException
✅ GivenSendRequestAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: DELETE, endpointTemplate: "/synergized")
✅ GivenSendRequestAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: GET, endpointTemplate: "/invoice/quantify")
✅ GivenSendRequestAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: PATCH, endpointTemplate: "/gambia")
✅ GivenSendRequestAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: POST, endpointTemplate: "/concrete/shoal/e-business")
✅ GivenSendRequestAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: PUT, endpointTemplate: "/massachusetts/customer/compress")
✅ GivenSendRequestWithBodyAsync_WhenApiResourceIsNull_ThenThrowsArgumentNullException
✅ GivenSendRequestWithBodyAsync_WhenBodyIsNullOfEmpty_ThenThrowsArgumentException(body: " ")
✅ GivenSendRequestWithBodyAsync_WhenBodyIsNullOfEmpty_ThenThrowsArgumentException(body: "")
✅ GivenSendRequestWithBodyAsync_WhenBodyIsNullOfEmpty_ThenThrowsArgumentException(body: null)
✅ GivenSendRequestWithBodyAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: DELETE, endpointTemplate: "/protocol", body: "{\"Locale\":\"en\",\"Random\":{}}")
✅ GivenSendRequestWithBodyAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: GET, endpointTemplate: "/feed", body: "{\"Locale\":\"en\",\"Random\":{}}")
✅ GivenSendRequestWithBodyAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: PATCH, endpointTemplate: "/iran/supply-chains/programming", body: "{\"Locale\":\"en\",\"Random\":{}}")
✅ GivenSendRequestWithBodyAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: POST, endpointTemplate: "/personal-loan-account/tcp", body: "{\"Locale\":\"en\",\"Random\":{}}")
✅ GivenSendRequestWithBodyAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: PUT, endpointTemplate: "/generate", body: "{\"Locale\":\"en\",\"Random\":{}}")
✅ GivenUnAuthenticate_WhenInvoked_ThenAuthorizationIsNull

✅ DrifterApps.Seeds.Testing.Tests.StepDefinitions.RootStepDefinitionTests

✅ GivenWithCreatedId_WhenCreatedIdEmpty_ThenReturnCreatedId
✅ GivenWithCreatedId_WhenCreatedIdValid_ThenReturnCreatedId
✅ GivenWithResultAs_WhenCreatedIdEmpty_ThenReturnCreatedId

✅ ./tests-results/_fv-az2026-603_2024-05-23_19_42_22.trx

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

Test suite Passed Failed Skipped Time
DrifterApps.Seeds.Domain.Tests.DomainExceptionOfTTests 3✅ 34ms
DrifterApps.Seeds.Domain.Tests.DomainExceptionTests 3✅ 37ms

✅ DrifterApps.Seeds.Domain.Tests.DomainExceptionOfTTests

✅ Constructor_WithMessage_ShouldCreateInstanceWithMessage
✅ Constructor_WithMessageAndInnerException_ShouldCreateInstanceWithMessageAndInnerException
✅ Constructor_WithoutArguments_ShouldCreateInstance

✅ DrifterApps.Seeds.Domain.Tests.DomainExceptionTests

✅ Constructor_WithMessage_ShouldCreateInstanceWithMessage
✅ Constructor_WithMessageAndInnerException_ShouldCreateInstanceWithMessageAndInnerException
✅ Constructor_WithoutArguments_ShouldCreateInstance

✅ ./tests-results/_fv-az2026-603_2024-05-23_19_42_24.trx

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

Test suite Passed Failed Skipped Time
DrifterApps.Seeds.Application.Mediatr.Tests.LoggingBehaviorTests 1✅ 342ms
DrifterApps.Seeds.Application.Mediatr.Tests.MediatRServiceConfigurationExtensionsTests 4✅ 408ms
DrifterApps.Seeds.Application.Mediatr.Tests.ValidationPreProcessorTests 3✅ 277ms

✅ DrifterApps.Seeds.Application.Mediatr.Tests.LoggingBehaviorTests

✅ Handle_WithRequest_LogsStartAndEnd

✅ DrifterApps.Seeds.Application.Mediatr.Tests.MediatRServiceConfigurationExtensionsTests

✅ GivenPing_WhenHitBack_ThenCommit
✅ GivenPing_WhenMissed_ThenRollback
✅ GivenPing_WhenNoFirstMessage_ThenValidatorIsCalledAndThrowsValidationException
✅ GivenRegisterServicesFromApplication_WhenInvoked_ThenRegisterServices

✅ DrifterApps.Seeds.Application.Mediatr.Tests.ValidationPreProcessorTests

✅ Process_WithInvalidRequest_ShouldThrowValidationException
✅ Process_WithNoValidators_ShouldNotThrowException
✅ Process_WithValidRequest_ShouldNotThrowException

✅ ./tests-results/_fv-az2026-603_2024-05-23_19_42_25.trx

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

Test suite Passed Failed Skipped Time
DrifterApps.Seeds.Application.Tests.ClassTests 1✅ 55ms
DrifterApps.Seeds.Application.Tests.UserContextTests 5✅ 447ms

✅ DrifterApps.Seeds.Application.Tests.ClassTests

✅ Test

✅ DrifterApps.Seeds.Application.Tests.UserContextTests

✅ GivenGetUserId_WhenHttpContextIsNull_ThenReturnEmptyGuid
✅ GivenGetUserId_WhenUserHasNameIdentifierAndSubClaim_ThenReturnNameIdentifierClaim
✅ GivenGetUserId_WhenUserHasNameIdentifierClaim_ThenReturnNameIdentifierClaim
✅ GivenGetUserId_WhenUserHasNoClaims_ThenReturnEmptyGuid
✅ GivenGetUserId_WhenUserHasSubClaim_ThenReturnSubClaim

✅ ./tests-results/_fv-az2026-603_2024-05-23_19_42_25[1].trx

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

Test suite Passed Failed Skipped Time
DrifterApps.Seeds.Testing.Tests.Drivers.HttpClientDriverTests 20✅ 487ms
DrifterApps.Seeds.Testing.Tests.StepDefinitions.RootStepDefinitionTests 3✅ 504ms

✅ DrifterApps.Seeds.Testing.Tests.Drivers.HttpClientDriverTests

✅ GivenAuthenticateUser_WhenInvoked_ThenAuthorizationSet
✅ GivenCreateDriver_WhenHttpClientIsNull_ThenThrowsArgumentNullException
✅ GivenDeserializeContent_WhenResponseMessageContainsData_ThenReturnsData
✅ GivenDeserializeContent_WhenResponseMessageIsNull_ThenReturnsDefault
✅ GivenSendRequestAsync_WhenApiResourceIsNull_ThenThrowsArgumentNullException
✅ GivenSendRequestAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: DELETE, endpointTemplate: "/empower/trail/orange")
✅ GivenSendRequestAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: GET, endpointTemplate: "/coordinator/surinam-dollar/consultant")
✅ GivenSendRequestAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: PATCH, endpointTemplate: "/withdrawal/alabama/graphical-user-interface")
✅ GivenSendRequestAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: POST, endpointTemplate: "/central")
✅ GivenSendRequestAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: PUT, endpointTemplate: "/profound/refined-metal-cheese")
✅ GivenSendRequestWithBodyAsync_WhenApiResourceIsNull_ThenThrowsArgumentNullException
✅ GivenSendRequestWithBodyAsync_WhenBodyIsNullOfEmpty_ThenThrowsArgumentException(body: " ")
✅ GivenSendRequestWithBodyAsync_WhenBodyIsNullOfEmpty_ThenThrowsArgumentException(body: "")
✅ GivenSendRequestWithBodyAsync_WhenBodyIsNullOfEmpty_ThenThrowsArgumentException(body: null)
✅ GivenSendRequestWithBodyAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: DELETE, endpointTemplate: "/xml/north-dakota/revolutionize", body: "{\"Locale\":\"en\",\"Random\":{}}")
✅ GivenSendRequestWithBodyAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: GET, endpointTemplate: "/index", body: "{\"Locale\":\"en\",\"Random\":{}}")
✅ GivenSendRequestWithBodyAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: PATCH, endpointTemplate: "/tcp/flexibility", body: "{\"Locale\":\"en\",\"Random\":{}}")
✅ GivenSendRequestWithBodyAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: POST, endpointTemplate: "/global", body: "{\"Locale\":\"en\",\"Random\":{}}")
✅ GivenSendRequestWithBodyAsync_WhenHttpMethod_ThenSendGetHttpRequestMessage(httpMethod: PUT, endpointTemplate: "/plastic/qatar", body: "{\"Locale\":\"en\",\"Random\":{}}")
✅ GivenUnAuthenticate_WhenInvoked_ThenAuthorizationIsNull

✅ DrifterApps.Seeds.Testing.Tests.StepDefinitions.RootStepDefinitionTests

✅ GivenWithCreatedId_WhenCreatedIdEmpty_ThenReturnCreatedId
✅ GivenWithCreatedId_WhenCreatedIdValid_ThenReturnCreatedId
✅ GivenWithResultAs_WhenCreatedIdEmpty_ThenReturnCreatedId

✅ ./tests-results/_fv-az2026-603_2024-05-23_19_42_27.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Tests.MediatorSerializedObjectTests 6✅ 231ms
Infrastructure.Tests.RequestExecutorTests 2✅ 186ms
Infrastructure.Tests.RequestSchedulerTests 5✅ 192ms
Infrastructure.Tests.ServiceCollectionExtensionsTests 1✅ 34ms

✅ Infrastructure.Tests.MediatorSerializedObjectTests

✅ GivenConstructor_WhenFullTypeNameIsNull_ThenShouldThrowArgumentException
✅ GivenConstructor_WhenFullTypeNameNotFound_ThenShouldThrowArgumentException
✅ SerializeObject_ShouldReturnMediatorSerializedObject
✅ ToString_ShouldReturnFormattedString
✅ TryDeserializeObject_WithInvalidData_ShouldReturnFalse
✅ TryDeserializeObject_WithValidData_ShouldDeserializeObject

✅ Infrastructure.Tests.RequestExecutorTests

✅ GivenExecuteCommand_WhenSerializedObjectIsBaseRequest_ThenSend
✅ GivenExecuteCommand_WhenSerializedObjectNotValid_ThenDoNothing

✅ Infrastructure.Tests.RequestSchedulerTests

✅ GivenConstructor_WhenRequestExecutorIsNull_ThenThrowArgumentNullException
✅ GivenSchedule_WhenDateTimeOffsetUsedInvoked_ThenScheduleTheJob
✅ GivenSchedule_WhenTimeSpanUsedInvoked_ThenScheduleTheJob
✅ GivenScheduleRecurring_WhenInvoked_ThenScheduleTheRecurringJob
✅ GivenSendNow_WhenInvoked_ThenQueueTheJob

✅ Infrastructure.Tests.ServiceCollectionExtensionsTests

✅ GivenAddHangfireRequestScheduler_WhenInvoked_ThenServicesRegistered

✅ ./tests-results/_fv-az2026-603_2024-05-23_19_42_29.trx

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

Test suite Passed Failed Skipped Time
Infrastructure.Tests.MediatorSerializedObjectTests 6✅ 237ms
Infrastructure.Tests.RequestExecutorTests 2✅ 154ms
Infrastructure.Tests.RequestSchedulerTests 5✅ 195ms
Infrastructure.Tests.ServiceCollectionExtensionsTests 1✅ 11ms

✅ Infrastructure.Tests.MediatorSerializedObjectTests

✅ GivenConstructor_WhenFullTypeNameIsNull_ThenShouldThrowArgumentException
✅ GivenConstructor_WhenFullTypeNameNotFound_ThenShouldThrowArgumentException
✅ SerializeObject_ShouldReturnMediatorSerializedObject
✅ ToString_ShouldReturnFormattedString
✅ TryDeserializeObject_WithInvalidData_ShouldReturnFalse
✅ TryDeserializeObject_WithValidData_ShouldDeserializeObject

✅ Infrastructure.Tests.RequestExecutorTests

✅ GivenExecuteCommand_WhenSerializedObjectIsBaseRequest_ThenSend
✅ GivenExecuteCommand_WhenSerializedObjectNotValid_ThenDoNothing

✅ Infrastructure.Tests.RequestSchedulerTests

✅ GivenConstructor_WhenRequestExecutorIsNull_ThenThrowArgumentNullException
✅ GivenSchedule_WhenDateTimeOffsetUsedInvoked_ThenScheduleTheJob
✅ GivenSchedule_WhenTimeSpanUsedInvoked_ThenScheduleTheJob
✅ GivenScheduleRecurring_WhenInvoked_ThenScheduleTheRecurringJob
✅ GivenSendNow_WhenInvoked_ThenQueueTheJob

✅ Infrastructure.Tests.ServiceCollectionExtensionsTests

✅ GivenAddHangfireRequestScheduler_WhenInvoked_ThenServicesRegistered