Skip to content

Merge pull request #900 from DFE-Digital/feat/234320/unified-contentf… #3662

Merge pull request #900 from DFE-Digital/feat/234320/unified-contentf…

Merge pull request #900 from DFE-Digital/feat/234320/unified-contentf… #3662

GitHub Actions / DotNET Tests succeeded Dec 13, 2024 in 1s

655 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
tests/Dfe.PlanTech.Application.UnitTests/TestResults/test-results.trx 121✅ 5s
tests/Dfe.PlanTech.Domain.UnitTests/TestResults/test-results.trx 18✅ 7s
tests/Dfe.PlanTech.Infrastructure.Contentful.UnitTests/TestResults/test-results.trx 72✅ 4s
tests/Dfe.PlanTech.Infrastructure.Redis.UnitTests/TestResults/test-results.trx 61✅ 9s
tests/Dfe.PlanTech.Infrastructure.ServiceBus.UnitTests/TestResults/test-results.trx 16✅ 5s
tests/Dfe.PlanTech.Infrastructure.SignIn.UnitTests/TestResults/test-results.trx 45✅ 8s
tests/Dfe.PlanTech.UnitTests.Shared/TestResults/test-results.trx 495ms
tests/Dfe.PlanTech.Web.UnitTests/TestResults/test-results.trx 322✅ 13s

✅ tests/Dfe.PlanTech.Application.UnitTests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
Dfe.PlanTech.Application.Cookie.Service.Tests.CookiesCleanerTests 1✅ 126ms
Dfe.PlanTech.Application.UnitTests.Content.Commands.WriteCmsWebhookToQueueCommandTests 3✅ 21ms
Dfe.PlanTech.Application.UnitTests.Content.Queries.GetContentSupportPageQueryTests 3✅ 12ms
Dfe.PlanTech.Application.UnitTests.Content.Queries.GetEntityFromContentfulQueryTests 1✅ 9ms
Dfe.PlanTech.Application.UnitTests.Content.Queries.GetNavigationQueryTests 4✅ 10ms
Dfe.PlanTech.Application.UnitTests.Content.Queries.GetPageQueryTests 4✅ 20ms
Dfe.PlanTech.Application.UnitTests.Content.Queries.GetSubTopicRecommendationQueryTests 9✅ 73ms
Dfe.PlanTech.Application.UnitTests.Cookie.Service.CookieServiceTests 9✅ 208ms
Dfe.PlanTech.Application.UnitTests.Core.UrlHistoryTests 2✅ 5ms
Dfe.PlanTech.Application.UnitTests.Establishments.Commands.CreateEstablishmentCommandTests 3✅ 15ms
Dfe.PlanTech.Application.UnitTests.Establishments.EstablishmentTests 11✅ 60ms
Dfe.PlanTech.Application.UnitTests.Establishments.Queries.GetEstablishmentIdQueryTests 3✅ 9ms
Dfe.PlanTech.Application.UnitTests.Persistence.Commands.WebhookMessageProcessorTests 2✅ 64ms
Dfe.PlanTech.Application.UnitTests.Persistence.GetEntitiesOptionsTests 3✅ 4ms
Dfe.PlanTech.Application.UnitTests.Questionnaire.Queries.GetNextUnansweredQuestionQueryTests 4✅ 14ms
Dfe.PlanTech.Application.UnitTests.Questionnaire.Queries.GetSectionQueryTests 4✅ 39ms
Dfe.PlanTech.Application.UnitTests.QuestionnaireCacherTests 2✅ 111ms
Dfe.PlanTech.Application.UnitTests.Submissions.CalculateMaturityCommandTests 2✅ 84ms
Dfe.PlanTech.Application.UnitTests.Submissions.Commands.ProcessSubmissionResponsesDtoCommandTests 2✅ 106ms
Dfe.PlanTech.Application.UnitTests.Submissions.Commands.SubmitAnswerCommandTests 4✅ 24ms
Dfe.PlanTech.Application.UnitTests.Submissions.Queries.CheckAnswersOrNextQuestionCheckerTests 7✅ 58ms
Dfe.PlanTech.Application.UnitTests.Submissions.Queries.GetLatestResponsesQueryTests 7✅ 348ms
Dfe.PlanTech.Application.UnitTests.Submissions.Queries.GetSubmissionStatusesQueryTests 5✅ 142ms
Dfe.PlanTech.Application.UnitTests.Submissions.Queries.SectionCompleteStatusCheckerTests 4✅ 7ms
Dfe.PlanTech.Application.UnitTests.Submissions.Queries.SectionNotStartedStatusCheckerTests 4✅ 3ms
Dfe.PlanTech.Application.UnitTests.Submissions.Queries.SubmissionStatusProcessorTests 3✅ 14ms
Dfe.PlanTech.Application.UnitTests.TemplateTest 1✅ 0ms
Dfe.PlanTech.Application.UnitTests.Users.Commands.CreateUserCommandTests 3✅ 2ms
Dfe.PlanTech.Application.UnitTests.Users.Commands.RecordUserSigninCommandTests 8✅ 31ms
Dfe.PlanTech.Application.UnitTests.Users.Queries.GetUserIdQueryTests 3✅ 20ms

✅ tests/Dfe.PlanTech.Domain.UnitTests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
Dfe.PlanTech.Domain.UnitTests.Database.DatabaseRetryOptionsTests 4✅ 22ms
Dfe.PlanTech.Domain.UnitTests.Helpers.DateTimeFormatterTests 7✅ 387ms
Dfe.PlanTech.Domain.UnitTests.Helpers.TimeZoneHelpersTests 3✅ 387ms
Dfe.PlanTech.Domain.UnitTests.LockOwnerUnitTests 1✅ 2ms
Dfe.PlanTech.Domain.UnitTests.RandomNumberTests 3✅ 11ms

✅ tests/Dfe.PlanTech.Infrastructure.Contentful.UnitTests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Content.Renderers.Models.PartRenderers.HeadingRendererTests 19✅ 10ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Content.Renderers.Models.PartRenderers.HyperlinkRendererTests 6✅ 11ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Content.Renderers.Models.PartRenderers.ListItemRendererTests 3✅ 2ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Content.Renderers.Models.PartRenderers.OrderedListRendererTests 3✅ 1ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Content.Renderers.Models.PartRenderers.ParagraphRendererTests 4✅ 16ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Content.Renderers.Models.PartRenderers.TableRendererTests 2✅ 3ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Content.Renderers.Models.PartRenderers.TextRendererTests 5✅ 20ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Content.Renderers.Models.PartRenderers.UnorderedListRendererTests 3✅ 7ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Content.Renderers.Models.RichTextRendererTests 2✅ 113ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Persistence.ContentfulRepositoryTests 10✅ 122ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Persistence.EntityResolverTests 3✅ 23ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.QueryBuilderByContentTypeTests 4✅ 16ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.QueryBuilderSelectTests 2✅ 1ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.QueryBuilderWithQueryTests 4✅ 4ms
Dfe.PlanTech.Infrastructure.Contentful.UnitTests.Serializers.DependencyInjectionContractResolverTests 2✅ 124ms

✅ tests/Dfe.PlanTech.Infrastructure.Redis.UnitTests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
Dfe.PlanTech.Infrastructure.Redis.UnitTests.ContentComponentJsonExtensionsTests 2✅ 44ms
Dfe.PlanTech.Infrastructure.Redis.UnitTests.GuardTests 21✅ 9ms
Dfe.PlanTech.Infrastructure.Redis.UnitTests.GZipRedisValueCompressorTests 8✅ 32ms
Dfe.PlanTech.Infrastructure.Redis.UnitTests.RedisCacheTests 19✅ 522ms
Dfe.PlanTech.Infrastructure.Redis.UnitTests.RedisLockProviderUnitTests 11✅ 5s

✅ tests/Dfe.PlanTech.Infrastructure.ServiceBus.UnitTests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
Dfe.PlanTech.Infrastructure.ServiceBus.UnitTests.ContentfulServiceBusProcessorTests 6✅ 73ms
Dfe.PlanTech.Infrastructure.ServiceBus.UnitTests.QueueWriterTests 2✅ 154ms
Dfe.PlanTech.Infrastructure.ServiceBus.UnitTests.ServiceBusResultProcessorTests 6✅ 156ms
Dfe.PlanTech.Infrastructure.ServiceBus.UnitTests.Utils.MessageRetryHandlerTests 2✅ 115ms

✅ tests/Dfe.PlanTech.Infrastructure.SignIn.UnitTests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
Dfe.PlanTech.Infrastructure.SignIns.UnitTests.DfeOpenIdConnectEventsTests 37✅ 526ms
Dfe.PlanTech.Infrastructure.SignIns.UnitTests.UserClaimsExtensionsTests 8✅ 154ms

✅ tests/Dfe.PlanTech.UnitTests.Shared/TestResults/test-results.trx

No tests found

✅ tests/Dfe.PlanTech.Web.UnitTests/TestResults/test-results.trx

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

Test suite Passed Failed Skipped Time
Dfe.ContentSupport.Web.Tests.Controllers.ContentControllerTests 5✅ 80ms
Dfe.PlanTech.Web.UnitTests.Authorisation.ApiKeyAuthorisationFilterTests 8✅ 10ms
Dfe.PlanTech.Web.UnitTests.Authorisation.PageModelAuthorisationPolicyTests 9✅ 93ms
Dfe.PlanTech.Web.UnitTests.Authorisation.SignedRequestAuthorisationPolicyTests 5✅ 46ms
Dfe.PlanTech.Web.UnitTests.BaseTaskListTagHelperTests 1✅ 1ms
Dfe.PlanTech.Web.UnitTests.Binders.PageModelBinderTests 3✅ 90ms
Dfe.PlanTech.Web.UnitTests.Content.ContentServiceTests 3✅ 178ms
Dfe.PlanTech.Web.UnitTests.Content.LayoutServiceTests 15✅ 8ms
Dfe.PlanTech.Web.UnitTests.Content.ModelMapperTests 8✅ 8ms
Dfe.PlanTech.Web.UnitTests.Controllers.AuthControllerTests 1✅ 1ms
Dfe.PlanTech.Web.UnitTests.Controllers.CheckAnswersControllerTests 12✅ 19ms
Dfe.PlanTech.Web.UnitTests.Controllers.CmsControllerTests 3✅ 178ms
Dfe.PlanTech.Web.UnitTests.Controllers.CookieControllerTests 13✅ 44ms
Dfe.PlanTech.Web.UnitTests.Controllers.PagesControllerTests 8✅ 28ms
Dfe.PlanTech.Web.UnitTests.Controllers.QuestionsControllerTests 13✅ 164ms
Dfe.PlanTech.Web.UnitTests.Controllers.RecommendationsControllerTests 12✅ 16ms
Dfe.PlanTech.Web.UnitTests.Exceptions.ExceptionTests 6✅ 1ms
Dfe.PlanTech.Web.UnitTests.Extensions.WebApplicationBuilderExtensionsTests 1✅ 695ms
Dfe.PlanTech.Web.UnitTests.GetQuestionBySlugRouterTests 15✅ 34ms
Dfe.PlanTech.Web.UnitTests.Helpers.CacherTests 9✅ 98ms
Dfe.PlanTech.Web.UnitTests.Helpers.ComponentViewsFactoryTests 2✅ 76ms
Dfe.PlanTech.Web.UnitTests.Helpers.CustomTelemetryInitializerTests 2✅ 17ms
Dfe.PlanTech.Web.UnitTests.Helpers.GtmServiceTests 4✅ 1ms
Dfe.PlanTech.Web.UnitTests.Helpers.HeaderExtensionsTests 4✅ 1ms
Dfe.PlanTech.Web.UnitTests.Helpers.LogInvalidModelStateTests 1✅ 126ms
Dfe.PlanTech.Web.UnitTests.Helpers.RichTextMarkExtensionsTests 3✅ 0ms
Dfe.PlanTech.Web.UnitTests.Helpers.RouteDataExtensionsTests 4✅ 25ms
Dfe.PlanTech.Web.UnitTests.Helpers.UserHelperTests 3✅ 42ms
Dfe.PlanTech.Web.UnitTests.Middleware.HeadRequestMiddlewareTests 2✅ 19ms
Dfe.PlanTech.Web.UnitTests.Middleware.RobotsTxtMiddlewareTests 1✅ 83ms
Dfe.PlanTech.Web.UnitTests.Middleware.SecurityHeadersMiddlewareTests 1✅ 60ms
Dfe.PlanTech.Web.UnitTests.Middleware.ServiceExceptionHandlerMiddlewareTests 5✅ 46ms
Dfe.PlanTech.Web.UnitTests.Middleware.UserAuthorisationMiddlewareResultHandlerTests 6✅ 87ms
Dfe.PlanTech.Web.UnitTests.Middleware.UserJourneyMissingContentExceptionHandlerTests 1✅ 14ms
Dfe.PlanTech.Web.UnitTests.Middleware.UserOrganisationAuthorisationHandlerTests 5✅ 10ms
Dfe.PlanTech.Web.UnitTests.Models.ComponentModelTests 20✅ 34ms
Dfe.PlanTech.Web.UnitTests.Models.Content.Mapped.Custom.CustomAccordionTests 1✅ 32ms
Dfe.PlanTech.Web.UnitTests.Models.Content.Mapped.Custom.CustomAttachmentTests 1✅ 4ms
Dfe.PlanTech.Web.UnitTests.Models.Content.Mapped.Custom.CustomCardTests 1✅ 1ms
Dfe.PlanTech.Web.UnitTests.Models.Content.Mapped.Custom.CustomGridContainerTests 1✅ 13ms
Dfe.PlanTech.Web.UnitTests.Models.Content.Mapped.Standard.CsTextTests 2✅ 1ms
Dfe.PlanTech.Web.UnitTests.Models.Content.Mapped.Standard.EmbeddedAssetTests 3✅ 4ms
Dfe.PlanTech.Web.UnitTests.Models.Content.Mapped.Standard.EmbeddedEntryTests 1✅ 3ms
Dfe.PlanTech.Web.UnitTests.Models.Content.Mapped.Standard.HyperlinkTests 2✅ 28ms
Dfe.PlanTech.Web.UnitTests.Models.EstablishmentDtoTests 8✅ 4ms
Dfe.PlanTech.Web.UnitTests.Routing.CheckAnswersRouterTests 6✅ 144ms
Dfe.PlanTech.Web.UnitTests.Routing.GetRecommendationRouterTests 29✅ 34ms
Dfe.PlanTech.Web.UnitTests.TagHelpers.FooterLinkTagHelperTests 12✅ 105ms
Dfe.PlanTech.Web.UnitTests.TagHelpers.HeaderComponentTagHelperTests 9✅ 10ms
Dfe.PlanTech.Web.UnitTests.TagHelpers.RichTextTagHelperTests 2✅ 100ms
Dfe.PlanTech.Web.UnitTests.TagHelpers.TaskListTagTagHelperTests 4✅ 2ms
Dfe.PlanTech.Web.UnitTests.TagHelpers.WarningComponentTagHelperTests 1✅ 15ms
Dfe.PlanTech.Web.UnitTests.TaskListItemNameTagHelperTests 1✅ 0ms
Dfe.PlanTech.Web.UnitTests.TaskListItemTagHelperTests 1✅ 0ms
Dfe.PlanTech.Web.UnitTests.TaskListTagHelperTests 1✅ 0ms
Dfe.PlanTech.Web.UnitTests.ViewComponents.CategorySectionViewComponentTests 13✅ 112ms
Dfe.PlanTech.Web.UnitTests.ViewComponents.FooterLinksComponentTests 2✅ 6ms
Dfe.PlanTech.Web.UnitTests.ViewComponents.NotificationBannerTests 3✅ 1ms
Dfe.PlanTech.Web.UnitTests.ViewComponents.WarningComponentTests 4✅ 1ms