Skip to content

Merge branch 'dev' into test/12/mediatr/team

8295ab0
Select commit
Loading
Failed to load commit list.
Merged

test/12: add test for BLL/MediatR/Team #49

Merge branch 'dev' into test/12/mediatr/team
8295ab0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 14, 2026 in 32s

Annotations

Check warning on line 29 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/TeamMemberLinks/CreateTeamLinkHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefix local calls with this

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-hXG_SzeXAESsg5&open=AZ4d6-hXG_SzeXAESsg5&pullRequest=49

Check warning on line 30 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefix local calls with this

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-h4G_SzeXAESsiu&open=AZ4d6-h4G_SzeXAESsiu&pullRequest=49

Check warning on line 1 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Using directive should appear within a namespace declaration

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iNG_SzeXAESsjq&open=AZ4d6-iNG_SzeXAESsjq&pullRequest=49

Check warning on line 22 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/TeamMemberLinks/GetAllTeamLinkHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefix local calls with this

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-feG_SzeXAESsgb&open=AZ4d6-feG_SzeXAESsgb&pullRequest=49

Check warning on line 23 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Field '_handler' should not begin with an underscore

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iDG_SzeXAESsjO&open=AZ4d6-iDG_SzeXAESsjO&pullRequest=49

Check warning on line 24 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Elements should be separated by blank line

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iDG_SzeXAESsjP&open=AZ4d6-iDG_SzeXAESsjP&pullRequest=49

Check warning on line 62 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Closing parenthesis should be on line of last parameter

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iDG_SzeXAESsjm&open=AZ4d6-iDG_SzeXAESsjm&pullRequest=49

Check warning on line 12 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Using directive should appear within a namespace declaration

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iNG_SzeXAESsj1&open=AZ4d6-iNG_SzeXAESsj1&pullRequest=49

Check warning on line 19 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Field '_mockTeamRepo' should not begin with an underscore

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iNG_SzeXAESsj4&open=AZ4d6-iNG_SzeXAESsj4&pullRequest=49

Check warning on line 64 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/CreatePositionHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Code should not contain trailing whitespace

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-htG_SzeXAESsiA&open=AZ4d6-htG_SzeXAESsiA&pullRequest=49

Check warning on line 19 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Field '_mockRepo' should not begin with an underscore

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iDG_SzeXAESsjK&open=AZ4d6-iDG_SzeXAESsjK&pullRequest=49

Check warning on line 63 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Argument of type 'ISetup<IRepositoryWrapper, Task<IEnumerable<TeamMember>>>' cannot be used for parameter 'mock' of type 'IReturns<IRepositoryWrapper, Task<IEnumerable<TeamMember>?>>' in 'IReturnsResult<IRepositoryWrapper> ReturnsExtensions.ReturnsAsync<IRepositoryWrapper, IEnumerable<TeamMember>?>(IReturns<IRepositoryWrapper, Task<IEnumerable<TeamMember>?>> mock, IEnumerable<TeamMember>? value)' due to differences in the nullability of reference types.

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-h4G_SzeXAESsiX&open=AZ4d6-h4G_SzeXAESsiX&pullRequest=49

Check warning on line 50 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefix local calls with this

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-h4G_SzeXAESsi0&open=AZ4d6-h4G_SzeXAESsi0&pullRequest=49

Check warning on line 11 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/GetAllPositionsHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Using directive for 'System.Linq.Expressions' should appear before directive for 'Streetcode.DAL.Repositories.Interfaces.Team'

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-hiG_SzeXAESshQ&open=AZ4d6-hiG_SzeXAESshQ&pullRequest=49

Check warning on line 9 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Using directive should appear within a namespace declaration

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iDG_SzeXAESsjE&open=AZ4d6-iDG_SzeXAESsjE&pullRequest=49

Check warning on line 59 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Closing parenthesis should be on line of last parameter

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iNG_SzeXAESskR&open=AZ4d6-iNG_SzeXAESskR&pullRequest=49

Check warning on line 22 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Field '_handler' should not begin with an underscore

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iNG_SzeXAESsj7&open=AZ4d6-iNG_SzeXAESsj7&pullRequest=49

Check warning on line 76 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Closing parenthesis should not be preceded by a space.

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iNG_SzeXAESskH&open=AZ4d6-iNG_SzeXAESskH&pullRequest=49

Check warning on line 68 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/CreatePositionHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Code should not contain trailing whitespace

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-htG_SzeXAESsiC&open=AZ4d6-htG_SzeXAESsiC&pullRequest=49

Check warning on line 39 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use trailing comma in multi-line initializers

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-h4G_SzeXAESsiy&open=AZ4d6-h4G_SzeXAESsiy&pullRequest=49

Check warning on line 63 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Closing parenthesis should be on line of last parameter

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-h4G_SzeXAESsi5&open=AZ4d6-h4G_SzeXAESsi5&pullRequest=49

Check warning on line 34 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefix local calls with this

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-iNG_SzeXAESsj-&open=AZ4d6-iNG_SzeXAESsj-&pullRequest=49

Check warning on line 28 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/TeamMemberLinks/CreateTeamLinkHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefix local calls with this

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-hXG_SzeXAESsg4&open=AZ4d6-hXG_SzeXAESsg4&pullRequest=49

Check warning on line 18 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Field '_mapper' should not begin with an underscore

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-h4G_SzeXAESsil&open=AZ4d6-h4G_SzeXAESsil&pullRequest=49

Check warning on line 1 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Using directive should appear within a namespace declaration

See more on https://sonarcloud.io/project/issues?id=ita-social-projects_StreetCode&issues=AZ4d6-h4G_SzeXAESsiY&open=AZ4d6-h4G_SzeXAESsiY&pullRequest=49