Skip to content

Fix build error

Fix build error #162

Triggered via push January 8, 2024 13:17
Status Success
Total duration 30s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: DiscordBotTests/ServiceTests/Watch2GetherServiceTests.cs#L32
Non-nullable field '_watch2GetherService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: DiscordBotTests/ServiceTests/Watch2GetherServiceTests.cs#L33
Non-nullable field '_mockHttpService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: DiscordBotTests/ServiceTests/HttpServiceTests.cs#L20
Non-nullable field '_mockRestClient' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: DiscordBotTests/ServiceTests/HttpServiceTests.cs#L21
Non-nullable field '_httpService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: DiscordBotTests/ServiceTests/SlashCommandsServiceTests.cs#L37
Cannot convert null literal to non-nullable reference type.
build: DiscordBotTests/ServiceTests/SlashCommandsServiceTests.cs#L39
Cannot convert null literal to non-nullable reference type.
build: DiscordBotTests/ServiceTests/SlashCommandsServiceTests.cs#L39
Cannot convert null literal to non-nullable reference type.
build: DiscordBotTests/ServiceTests/SlashCommandsServiceTests.cs#L39
Cannot convert null literal to non-nullable reference type.
build: DiscordBotTests/ServiceTests/SlashCommandsServiceTests.cs#L39
Cannot convert null literal to non-nullable reference type.
build: DiscordBotTests/ServiceTests/OpenWeatherMapServiceTests.cs#L32
Non-nullable field '_mockHttpService' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.