Skip to content

Task/test change branch #3822

Task/test change branch

Task/test change branch #3822

Triggered via pull request February 26, 2025 15:48
Status Failure
Total duration 4m 7s
Artifacts

code-pr-check.yml

on: pull_request
Lint & Commit
51s
Lint & Commit
Build database upgrader
27s
Build database upgrader
Run javascript tests
18s
Run javascript tests
Run Jest Tests for Contentful
0s
Run Jest Tests for Contentful
Build and run unit tests
2m 37s
Build and run unit tests
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
Build and run unit tests
Failed test were found and 'fail-on-error' option is set to true
Build database upgrader
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build database upgrader
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build and run unit tests
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build and run unit tests: src/Dfe.PlanTech.Domain/Content/Models/ContentSupport/ContentItem.cs#L11
'ContentItem.Data' hides inherited member 'ContentItemBase.Data'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.PlanTech.Domain/Content/Models/ContentSupport/ContentItemBase.cs#L9
'ContentItemBase.Data' hides inherited member 'ContentBase.Data'. Use the new keyword if hiding was intended.
Build and run unit tests: src/Dfe.PlanTech.Domain/Content/Interfaces/IRichTextContent.cs#L40
Reduce the number of generic parameters in the 'IRichTextContent' interface to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and run unit tests: src/Dfe.PlanTech.Domain/Questionnaire/Interfaces/IRecommendationSection.cs#L7
Reduce the number of generic parameters in the 'IRecommendationSection' interface to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and run unit tests: src/Dfe.PlanTech.Domain/Questionnaire/Interfaces/ISubTopicRecommendation.cs#L7
Reduce the number of generic parameters in the 'ISubTopicRecommendation' interface to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and run unit tests: src/Dfe.PlanTech.Domain/Content/Models/Options/TextRendererOptions.cs#L22
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
Build and run unit tests: src/Dfe.PlanTech.Application/Responses/Queries/GetLatestResponsesQuery.cs#L11
Parameter 'IPlanTechDbContext db' is captured into the state of the enclosing type and its value is also used to initialize a field, property, or event.
Build and run unit tests: src/Dfe.PlanTech.Application/Content/Queries/GetContentSupportPageQuery.cs#L28
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
Build and run unit tests: src/Dfe.PlanTech.Application/Content/Queries/GetPageQuery.cs#L56
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)