Skip to content

Add additional unit tests for EducationService edge cases #11

Add additional unit tests for EducationService edge cases

Add additional unit tests for EducationService edge cases #11

Triggered via pull request January 20, 2026 02:51
Status Failure
Total duration 32s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 9 warnings
build
Process completed with exit code 1.
build: tests/WebApi.Tests/EducationsControllerTests.cs#L170
Cannot convert null literal to non-nullable reference type.
build: tests/WebApi.Tests/EducationsControllerTests.cs#L107
Cannot convert null literal to non-nullable reference type.
build: src/WebApi/Program.cs#L16
Possible null reference argument for parameter 'connectionString' in 'IHealthChecksBuilder NpgSqlHealthCheckBuilderExtensions.AddNpgSql(IHealthChecksBuilder builder, string connectionString, string healthQuery = "SELECT 1;", Action<NpgsqlConnection>? configure = null, string? name = null, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build: tests/WebApi.Tests/EducationsControllerTests.cs#L170
Cannot convert null literal to non-nullable reference type.
build: tests/WebApi.Tests/EducationsControllerTests.cs#L107
Cannot convert null literal to non-nullable reference type.
build: src/WebApi/Program.cs#L16
Possible null reference argument for parameter 'connectionString' in 'IHealthChecksBuilder NpgSqlHealthCheckBuilderExtensions.AddNpgSql(IHealthChecksBuilder builder, string connectionString, string healthQuery = "SELECT 1;", Action<NpgsqlConnection>? configure = null, string? name = null, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null, TimeSpan? timeout = null)'.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.