Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
test/12: add test for BLL/MediatR/Team #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
test/12: add test for BLL/MediatR/Team #49
Changes from all commits
0dea7b3c19c6c326b1acd8295ab0File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check warning on line 1 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
Using directive should appear within a namespace declaration
Check warning on line 5 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
Using directive should appear within a namespace declaration
Check warning on line 8 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
Using directive should appear within a namespace declaration
Check warning on line 18 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
Field '_mapper' should not begin with an underscore
Check warning on line 30 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
Prefix local calls with this
Check warning on line 39 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
Use trailing comma in multi-line initializers
Check warning on line 50 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
Prefix local calls with this
Check warning on line 58 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
Prefix local calls with this
Check warning on line 63 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
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.
Check warning on line 63 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
Closing parenthesis should be on line of last parameter
Check warning on line 63 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
Converting null literal or possible null value to non-nullable type.
Check warning on line 64 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllMainTeamQueryTests.cs
Prefix local calls with this
Check warning on line 1 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs
Using directive should appear within a namespace declaration
Check warning on line 12 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs
Using directive should appear within a namespace declaration
Check warning on line 19 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs
Field '_mockTeamRepo' should not begin with an underscore
Check warning on line 20 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs
Field '_mapper' should not begin with an underscore
Check warning on line 22 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs
Field '_handler' should not begin with an underscore
Check warning on line 34 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs
Prefix local calls with this
Check warning on line 36 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs
Prefix local calls with this
Check warning on line 59 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs
Closing parenthesis should be on line of last parameter
Check warning on line 76 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetAllTeamHandlerTests.cs
Closing parenthesis should not be preceded by a space.
Check warning on line 9 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs
Using directive should appear within a namespace declaration
Check warning on line 12 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs
Using directive for 'System.Linq.Expressions' should appear before directive for 'Streetcode.DAL.Repositories.Interfaces.Team'
Check warning on line 19 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs
Field '_mockRepo' should not begin with an underscore
Check warning on line 23 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs
Field '_handler' should not begin with an underscore
Check warning on line 24 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs
Elements should be separated by blank line
Check warning on line 26 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs
Prefix local calls with this
Check warning on line 34 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs
Prefix local calls with this
Check warning on line 47 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs
Closing parenthesis should not be preceded by a space.
Check warning on line 62 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/GetByIdTeamHandlerTests.cs
Closing parenthesis should be on line of last parameter
Check warning on line 8 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/CreatePositionHandlerTests.cs
Using directive should appear within a namespace declaration
Check warning on line 31 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/CreatePositionHandlerTests.cs
Prefix local calls with this
Check warning on line 33 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/CreatePositionHandlerTests.cs
Prefix local calls with this
Check warning on line 42 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/CreatePositionHandlerTests.cs
Prefix local calls with this
Check warning on line 47 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/CreatePositionHandlerTests.cs
Prefix local calls with this
Check warning on line 62 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/CreatePositionHandlerTests.cs
Prefix local calls with this
Check warning on line 64 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/CreatePositionHandlerTests.cs
Code should not contain trailing whitespace
Check warning on line 68 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/CreatePositionHandlerTests.cs
Code should not contain trailing whitespace
Check warning on line 4 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/GetAllPositionsHandlerTests.cs
Using directive should appear within a namespace declaration
Check warning on line 11 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/GetAllPositionsHandlerTests.cs
Using directive for 'System.Linq.Expressions' should appear before directive for 'Streetcode.DAL.Repositories.Interfaces.Team'
Check warning on line 20 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/GetAllPositionsHandlerTests.cs
Field '_mapper' should not begin with an underscore
Check warning on line 22 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/GetAllPositionsHandlerTests.cs
Field '_handler' should not begin with an underscore
Check warning on line 53 in Streetcode/Streetcode.XUnitTest/BLL/MediatR/Team/Position/GetAllPositionsHandlerTests.cs
Closing parenthesis should be on line of last parameter
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.