Skip to content

Task/326

Task/326 #1075

Triggered via pull request December 4, 2023 12:44
@andreaswurtzandreaswurtz
synchronize #367
task/326
Status Failure
Total duration 34s
Artifacts

unit_test.yml

on: pull_request
Matrix: Unit Test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
Unit Test (ubuntu-20.04): GirafAPI/Setup/Startup.cs#L36
Extension method must be defined in a non-generic static class
Unit Test (ubuntu-20.04): GirafAPI/Setup/Startup.cs#L36
Extension method must be defined in a non-generic static class
Unit Test (ubuntu-20.04)
Process completed with exit code 1.
Unit Test (ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit Test (ubuntu-20.04): GirafEntities/WeekPlanner/DTOs/TimerDTO.cs#L52
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
Unit Test (ubuntu-20.04): GirafEntities/WeekPlanner/DTOs/TimerDTO.cs#L8
'TimerDTO' overrides Object.Equals(object o) but does not override Object.GetHashCode()
Unit Test (ubuntu-20.04): GirafEntities/User/DTOs/DisplayNameDTO.cs#L62
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
Unit Test (ubuntu-20.04): GirafEntities/User/DTOs/DisplayNameDTO.cs#L49
Nullability of reference types in type of parameter 'other' of 'int DisplayNameDTO.CompareTo(DisplayNameDTO other)' doesn't match implicitly implemented member 'int IComparable<DisplayNameDTO>.CompareTo(DisplayNameDTO? other)' (possibly because of nullability attributes).
Unit Test (ubuntu-20.04): GirafEntities/User/DTOs/DisplayNameDTO.cs#L9
'DisplayNameDTO' overrides Object.Equals(object o) but does not override Object.GetHashCode()
Unit Test (ubuntu-20.04): GirafEntities/User/DTOs/DisplayNameDTO.cs#L34
Cannot convert null literal to non-nullable reference type.
Unit Test (ubuntu-20.04): GirafEntities/WeekPlanner/DTOs/WeekNameDTO.cs#L43
Nullability of reference types in type of parameter 'other' of 'int WeekNameDTO.CompareTo(WeekNameDTO other)' doesn't match implicitly implemented member 'int IComparable<WeekNameDTO>.CompareTo(WeekNameDTO? other)' (possibly because of nullability attributes).
Unit Test (ubuntu-20.04): GirafEntities/Authentication/JwtConfig.cs#L11
Non-nullable property 'JwtKey' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Unit Test (ubuntu-20.04): GirafEntities/Authentication/JwtConfig.cs#L16
Non-nullable property 'JwtIssuer' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Unit Test (ubuntu-20.04): GirafEntities/Authentication/DTOs/RegisterDTO.cs#L15
Non-nullable property 'Username' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.