Skip to content

Changed methods returing types, checks for null #81

Changed methods returing types, checks for null

Changed methods returing types, checks for null #81

Triggered via push April 12, 2024 19:24
Status Success
Total duration 47s
Billable time 1m
Artifacts

unit-tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
tests: Server/ReasnAPI/ReasnAPI/Services/UserService.cs#L68
Possible null reference argument for parameter 'user' in 'UserDto? UserService.MapToUserDto(User user)'.
tests: Server/ReasnAPI/ReasnAPI/Services/RoleService.cs#L49
Possible null reference argument for parameter 'role' in 'RoleDto? RoleService.MapToRoleDto(Role role)'.
tests: Server/ReasnAPI/ReasnAPI/Services/ParticipantService.cs#L51
Possible null reference argument for parameter 'participant' in 'ParticipantDto? ParticipantService.MapToParticipantDto(Participant participant)'.
tests: Server/ReasnAPI/ReasnAPI/Services/CommentService.cs#L53
Possible null reference argument for parameter 'comment' in 'CommentDto? CommentService.MapToCommentDto(Comment comment)'.
tests: Server/ReasnAPI/ReasnAPI/Services/AddressService.cs#L57
Possible null reference argument for parameter 'address' in 'AddressDto? AddressService.MapToAddressDto(Address address)'.
tests: Server/ReasnAPI/ReasnAPI/Services/UserService.cs#L68
Possible null reference argument for parameter 'user' in 'UserDto? UserService.MapToUserDto(User user)'.
tests: Server/ReasnAPI/ReasnAPI/Services/RoleService.cs#L49
Possible null reference argument for parameter 'role' in 'RoleDto? RoleService.MapToRoleDto(Role role)'.
tests: Server/ReasnAPI/ReasnAPI/Services/ParticipantService.cs#L51
Possible null reference argument for parameter 'participant' in 'ParticipantDto? ParticipantService.MapToParticipantDto(Participant participant)'.
tests: Server/ReasnAPI/ReasnAPI/Services/CommentService.cs#L53
Possible null reference argument for parameter 'comment' in 'CommentDto? CommentService.MapToCommentDto(Comment comment)'.
tests: Server/ReasnAPI/ReasnAPI/Services/AddressService.cs#L57
Possible null reference argument for parameter 'address' in 'AddressDto? AddressService.MapToAddressDto(Address address)'.