Skip to content

Refactor/final touches #25

Refactor/final touches

Refactor/final touches #25

Triggered via pull request August 28, 2024 09:53
Status Failure
Total duration 41s
Artifacts

CI_Backend.yml

on: pull_request
build-and-test
31s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
test.Application.UnitTests.Services.DomainService.UserServiceTests ► SignUpUser_WhenRoleDoesNotExist_ReturnsFailResult: test/Application.UnitTests/Services/DomainService/UserServiceTests.cs#L51
Failed test found in: test/TestResults/test-results.trx Error: Assert.Equal() Failure: Strings differ ↓ (pos 0) Expected: "role does not exist" Actual: "Role does not exist." ↑ (pos 0)
build-and-test
Failed test were found and 'fail-on-error' option is set to true
build-and-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, 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/
build-and-test: src/Application/DTOs/Result.cs#L39
'Result<T>.Fail(string)' hides inherited member 'Result.Fail(string)'. Use the new keyword if hiding was intended.
build-and-test: src/Application/Mappers/UserMapper.cs#L27
Possible null reference assignment.
build-and-test: src/Application/Mappers/UserMapper.cs#L28
Possible null reference assignment.
build-and-test: src/Application/Mappers/ProfileMapper.cs#L15
Possible null reference assignment.
build-and-test: src/Application/Mappers/ProfileMapper.cs#L16
Possible null reference assignment.
build-and-test: src/Application/Mappers/UserMapper.cs#L39
Possible null reference assignment.
build-and-test: src/Application/Mappers/UserMapper.cs#L40
Possible null reference assignment.
build-and-test: src/Application/Mappers/ProfileMapper.cs#L26
Possible null reference assignment.
build-and-test: src/Application/Mappers/ProfileMapper.cs#L27
Possible null reference assignment.
build-and-test: src/Application/Mappers/UserMapper.cs#L52
Possible null reference assignment.