mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 15:11:10 +00:00
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:
1 parent
f29f89f31f
commit
f97c5bed47
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user