Skip to content

Update EventsController.cs #395

Update EventsController.cs

Update EventsController.cs #395

Triggered via push June 22, 2024 15:25
Status Success
Total duration 1m 52s
Artifacts

unit-tests.yml

on: push
Matrix: client-tests
Matrix: dotnet-tests
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L11
Non-nullable field 'userService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L12
Non-nullable field 'imageService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Services/UserService.cs#L17
Non-nullable field '_httpContextAccessor' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/API/ParticipantsResponse.cs#L7
Non-nullable property 'Participating' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/API/ParticipantsResponse.cs#L8
Non-nullable property 'Interested' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L11
Field 'UsersController.userService' is never assigned to, and will always have its default value null
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L12
Field 'UsersController.imageService' is never assigned to, and will always have its default value null
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Mappers/EventMapper.cs#L10
All 'ToDto' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L11
Remove unassigned field 'userService', or set its value. (https://rules.sonarsource.com/csharp/RSPEC-3459)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L11
Non-nullable field 'userService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L12
Non-nullable field 'imageService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Services/UserService.cs#L17
Non-nullable field '_httpContextAccessor' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/API/ParticipantsResponse.cs#L7
Non-nullable property 'Participating' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/API/ParticipantsResponse.cs#L8
Non-nullable property 'Interested' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L12
Field 'UsersController.imageService' is never assigned to, and will always have its default value null
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L11
Field 'UsersController.userService' is never assigned to, and will always have its default value null
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Mappers/EventMapper.cs#L10
All 'ToDto' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L11
Remove unassigned field 'userService', or set its value. (https://rules.sonarsource.com/csharp/RSPEC-3459)
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L11
Non-nullable field 'userService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L12
Non-nullable field 'imageService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Services/UserService.cs#L17
Non-nullable field '_httpContextAccessor' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Models/API/ParticipantsResponse.cs#L7
Non-nullable property 'Participating' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Models/API/ParticipantsResponse.cs#L8
Non-nullable property 'Interested' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L11
Field 'UsersController.userService' is never assigned to, and will always have its default value null
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L12
Field 'UsersController.imageService' is never assigned to, and will always have its default value null
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Mappers/EventMapper.cs#L10
All 'ToDto' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L11
Remove unassigned field 'userService', or set its value. (https://rules.sonarsource.com/csharp/RSPEC-3459)