Skip to content

moved logic from recomendation.py to recomadationService.cs #402

moved logic from recomendation.py to recomadationService.cs

moved logic from recomendation.py to recomadationService.cs #402

Triggered via push June 22, 2024 17:56
Status Failure
Total duration 1m 49s
Artifacts

unit-tests.yml

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

Annotations

17 errors and 21 warnings
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L160
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L190
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L212
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L160
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L190
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L212
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (macos-latest)
Process completed with exit code 1.
dotnet-tests (windows-latest)
The job was canceled because "macos-latest" failed.
dotnet-tests (windows-latest)
The operation was canceled.
dotnet-tests (ubuntu-latest)
The job was canceled because "macos-latest" failed.
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L160
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L190
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L212
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L160
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L190
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI.Tests/Services/UserServiceTests.cs#L212
Argument 1: cannot convert from 'int' to 'string'
dotnet-tests (ubuntu-latest)
The operation was canceled.
dotnet-tests (macos-latest)
No files were found with the provided path: Server/ReasnAPI/TestResults-macos-latest-commit-a49b5768d018d7f3b22bf7fa71f2cce370ad47b2. No artifacts will be uploaded.
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L8
The using directive for 'Microsoft.AspNetCore.Mvc' appeared previously in this namespace
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/UsersController.cs#L44
Possible null reference argument for parameter 'interestsDto' in 'Task<List<EventDto>> RecomendationService.GetEventsByInterest(List<UserInterestDto> interestsDto)'.
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Services/RecomendationService.cs#L23
Non-nullable field 'flaskApiUrl' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Services/RecomendationService.cs#L23
Non-nullable field '_connectionString' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/Recomendation/TagInfo.cs#L5
Non-nullable property 'Tag_Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Models/Recomendation/TagInfo.cs#L6
Non-nullable property 'Interest_Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Services/RecomendationService.cs#L20
The field 'RecomendationService.flaskApiUrl' is never used
dotnet-tests (macos-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L20
Remove this unread private field '_httpClient' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L8
The using directive for 'Microsoft.AspNetCore.Mvc' appeared previously in this namespace
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/UsersController.cs#L44
Possible null reference argument for parameter 'interestsDto' in 'Task<List<EventDto>> RecomendationService.GetEventsByInterest(List<UserInterestDto> interestsDto)'.
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/Recomendation/TagInfo.cs#L5
Non-nullable property 'Tag_Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Models/Recomendation/TagInfo.cs#L6
Non-nullable property 'Interest_Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Services/RecomendationService.cs#L23
Non-nullable field 'flaskApiUrl' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Services/RecomendationService.cs#L23
Non-nullable field '_connectionString' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Services/RecomendationService.cs#L20
The field 'RecomendationService.flaskApiUrl' is never used
dotnet-tests (ubuntu-latest): Server/ReasnAPI/ReasnAPI/Controllers/UsersController.cs#L20
Remove this unread private field '_httpClient' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)