Skip to content

[RSN-60] - Implement required methods in MeController and UserControl… #424

[RSN-60] - Implement required methods in MeController and UserControl…

[RSN-60] - Implement required methods in MeController and UserControl… #424

Triggered via push June 23, 2024 11:28
Status Success
Total duration 2m 53s
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/Services/UserService.cs#L18
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/Controllers/EventsController.cs#L11
Remove this unread private field '_context' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/Database/ReasnContext.cs#L289
Supply an implementation for this partial method. (https://rules.sonarsource.com/csharp/RSPEC-3251)
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L7
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L8
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L9
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L10
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L12
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L13
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L14
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Services/UserService.cs#L18
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/Controllers/EventsController.cs#L11
Remove this unread private field '_context' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/Database/ReasnContext.cs#L289
Supply an implementation for this partial method. (https://rules.sonarsource.com/csharp/RSPEC-3251)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L7
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L8
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L9
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L10
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L12
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L13
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L14
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Services/UserService.cs#L18
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/Controllers/EventsController.cs#L11
Remove this unread private field '_context' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Models/Database/ReasnContext.cs#L289
Supply an implementation for this partial method. (https://rules.sonarsource.com/csharp/RSPEC-3251)
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Program.cs#L150
Await RunAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L7
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L8
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L9
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L10
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L12
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
dotnet-tests (windows-latest): Server/ReasnAPI/ReasnAPI/Models/DTOs/UserDto.cs#L13
Property used as input in a controller action should be nullable or annotated with the Required attribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)