Skip to content

fix(Test-User): fix some test in UserControllerTests and userServiceT… #129

fix(Test-User): fix some test in UserControllerTests and userServiceT…

fix(Test-User): fix some test in UserControllerTests and userServiceT… #129

Triggered via pull request September 8, 2024 18:59
Status Failure
Total duration 51s
Artifacts

dotnet_CI.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
test
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test: AnalysisData/AnalysisData/Migrations/20240908115457_initial.cs#L12
The type name 'initial' only contains lower-cased ascii characters. Such names may become reserved for the language.
test: AnalysisData/AnalysisData/Migrations/20240908115457_initial.Designer.cs#L16
The type name 'initial' only contains lower-cased ascii characters. Such names may become reserved for the language.
test: AnalysisData/AnalysisData/Models/UserModel/User.cs#L22
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
test: AnalysisData/AnalysisData/Program.cs#L29
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.
test: AnalysisData/AnalysisData/Services/UserService/UserService/UploadImageService.cs#L23
Possible null reference argument for parameter 'userName' in 'Task<User> IUserRepository.GetUserByUsernameAsync(string userName)'.
test: AnalysisData/AnalysisData/Services/UserService/UserService/UploadImageService.cs#L29
Converting null literal or possible null value to non-nullable type.
test: AnalysisData/AnalysisData/Dtos/UserDto/UserDto/UserRegisterDto.cs#L5
Non-nullable property 'UserName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test: AnalysisData/AnalysisData/Dtos/UserDto/UserDto/UserRegisterDto.cs#L6
Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test: AnalysisData/AnalysisData/Dtos/UserDto/UserDto/UserRegisterDto.cs#L7
Non-nullable property 'ConfirmPassword' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test: AnalysisData/AnalysisData/Dtos/UserDto/UserDto/UserRegisterDto.cs#L8
Non-nullable property 'FirstName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.