Skip to content

fix: Fix tests

fix: Fix tests #174

Triggered via push September 21, 2023 06:01
Status Failure
Total duration 1m 11s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 20 warnings
build (Debug): tests/Lavalink4NET.Artwork.Tests/ArtworkServiceTests.cs#L15
The best overload for 'ArtworkService' does not have a parameter named 'cache'
build (Debug): tests/Lavalink4NET.Artwork.Tests/ArtworkServiceTests.cs#L15
The best overload for 'ArtworkService' does not have a parameter named 'cache'
build (Debug)
Process completed with exit code 1.
build (Release)
The job was canceled because "Debug" failed.
build (Release): tests/Lavalink4NET.Artwork.Tests/ArtworkServiceTests.cs#L15
The best overload for 'ArtworkService' does not have a parameter named 'cache'
build (Release): tests/Lavalink4NET.Artwork.Tests/ArtworkServiceTests.cs#L15
The best overload for 'ArtworkService' does not have a parameter named 'cache'
build (Release)
The operation was canceled.
build (Debug): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L67
Cannot convert null literal to non-nullable reference type.
build (Debug): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L73
Cannot convert null literal to non-nullable reference type.
build (Debug): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L78
Cannot convert null literal to non-nullable reference type.
build (Debug): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L83
Cannot convert null literal to non-nullable reference type.
build (Debug): tests/Lavalink4NET.Rest.Tests/LavalinkApiClientTests.cs#L679
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Debug): tests/Lavalink4NET.Rest.Tests/LavalinkApiClientTests.cs#L710
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Debug): tests/Lavalink4NET.Rest.Tests/LavalinkApiClientTests.cs#L797
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Debug): tests/Lavalink4NET.Lyrics.Tests/LyricsServiceTests.cs#L15
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Debug): tests/Lavalink4NET.Lyrics.Tests/LyricsServiceTests.cs#L48
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Debug): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L67
Cannot convert null literal to non-nullable reference type.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L67
Cannot convert null literal to non-nullable reference type.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L73
Cannot convert null literal to non-nullable reference type.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L78
Cannot convert null literal to non-nullable reference type.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L83
Cannot convert null literal to non-nullable reference type.
build (Release): tests/Lavalink4NET.Lyrics.Tests/LyricsServiceTests.cs#L15
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Release): tests/Lavalink4NET.Lyrics.Tests/LyricsServiceTests.cs#L48
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Release): tests/Lavalink4NET.Rest.Tests/LavalinkApiClientTests.cs#L679
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Release): tests/Lavalink4NET.Rest.Tests/LavalinkApiClientTests.cs#L710
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Release): tests/Lavalink4NET.Rest.Tests/LavalinkApiClientTests.cs#L797
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Release): src/Lavalink4NET.Rest/Entities/Tracks/TrackLoadResult.cs#L67
Cannot convert null literal to non-nullable reference type.