Skip to content

Permissions - Add-Edit Facilities as per UAT notes #373

Permissions - Add-Edit Facilities as per UAT notes

Permissions - Add-Edit Facilities as per UAT notes #373

Triggered via pull request March 20, 2024 20:21
Status Failure
Total duration 4m 6s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze with CodeQL
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
Analyze with CodeQL (csharp): tests/FMS.App.Tests/Helpers/ExportHelperTests.cs#L49
There is no argument given that corresponds to the required parameter 'reportType' of 'ExportHelper.ExportExcelAsByteArray<T>(IEnumerable<T>, ExportHelper.ReportType)'
Analyze with CodeQL (csharp): tests/FMS.App.Tests/Helpers/ExportHelperTests.cs#L65
There is no argument given that corresponds to the required parameter 'reportType' of 'ExportHelper.ExportExcelAsByteArray<T>(IEnumerable<T>, ExportHelper.ReportType)'
Analyze with CodeQL (csharp): tests/FMS.App.Tests/Helpers/ExportHelperTests.cs#L49
There is no argument given that corresponds to the required parameter 'reportType' of 'ExportHelper.ExportExcelAsByteArray<T>(IEnumerable<T>, ExportHelper.ReportType)'
Analyze with CodeQL (csharp): tests/FMS.App.Tests/Helpers/ExportHelperTests.cs#L65
There is no argument given that corresponds to the required parameter 'reportType' of 'ExportHelper.ExportExcelAsByteArray<T>(IEnumerable<T>, ExportHelper.ReportType)'
Analyze with CodeQL (csharp)
Assets file '/home/runner/work/FMS/FMS/artifacts/FMS.Domain/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze with CodeQL (csharp)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.16.4/x64/codeql/csharp/tools/autobuild.sh". Exit code was 1 and last log line was: Error: Could not auto-detect a suitable build method. See the logs for more details.
Analyze with CodeQL (csharp): FMS.Infrastructure/Migrations/20240223163127_UpdateSPgetNearbyFacilities.cs#L46
Use 'Guid.NewGuid()' or 'Guid.Empty' or add arguments to this GUID instantiation. (https://rules.sonarsource.com/csharp/RSPEC-4581)
Analyze with CodeQL (csharp): FMS.Infrastructure/Repositories/FacilityRepository.cs#L309
Change this expression which always evaluates to the same result. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L190
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L209
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L249
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L230
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/FileRepositoryTests.cs#L242
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L340
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L360
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L401
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)