Removes redundant qualifiers and a cast from the track stream endpoint

Drops the redundant FastEndpoints namespace qualification of EmptyRequest and the redundant cast of the audio byte array length in the stream endpoint and its tests.
This commit is contained in:
BinaryAlley committed 2026-10-14 13:40:44 +03:00
1 parent f29f89f31f
commit f97c5bed47
2 files changed
+3 -3

No files matched your search

@@ -80,7 +80,7 @@ public class GetTrackStreamEndpointTests : IClassFixture<AuthenticatedLuminaApiF
// Assert
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
Assert.Equal("audio/mpeg", response.Content.Headers.ContentType?.MediaType);
Assert.Equal((long)audioBytes.Length, response.Content.Headers.ContentLength!.Value);
Assert.Equal(audioBytes.Length, response.Content.Headers.ContentLength!.Value);
Assert.Contains("bytes", response.Headers.AcceptRanges);
Assert.NotNull(response.Headers.ETag);
Assert.NotNull(response.Content.Headers.LastModified);