Test for Second Achievement (#10) #5
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build:
src/Bvc.Game.Quest.Services/Domain/PLayerAchievement.cs#L5
Non-nullable property 'Player' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
src/Bvc.Game.Quest.Services/Domain/PLayerAchievement.cs#L6
Non-nullable property 'Achievement' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
src/Bvc.Game.Quest.Services/Domain/Achievement.cs#L5
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
src/Bvc.Game.Quest.Services/Models/Response/AchievementDto.cs#L6
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
src/Bvc.Game.Quest.Services/Models/GamerDto.cs#L8
Non-nullable property 'Achievements' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
src/Bvc.Game.Quest.Services/Models/GamerDto.cs#L9
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
src/Bvc.Game.Quest.Tests/Services/AchievementServiceTests.cs#L68
The literal or constant value 1 should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'PostAnotherAchievement' on type 'AchievementServiceTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
Build:
src/Bvc.Game.Quest.Tests/Services/AchievementServiceTests.cs#L72
The literal or constant value 2 should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'PostAnotherAchievement' on type 'AchievementServiceTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
Build:
src/Bvc.Game.Quest.Tests/Services/AchievementServiceTests.cs#L40
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
Build:
src/Bvc.Game.Quest.Services/Domain/PLayerAchievement.cs#L5
Non-nullable property 'Player' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Loading