Temporarily narrows the test matrix for cover diagnostics

This commit is contained in:
BinaryAlley committed 2026-09-06 10:37:58 -07:00
1 parent 9b099cccc6
commit 114bfe94ff
2 files changed
+4 -4

No files matched your search

@@ -66,8 +66,8 @@ public class UpdateBookCoverEndpointTests : IClassFixture<AuthenticatedLuminaApi
HttpResponseMessage response = await _client.PutAsync($"/api/v1/books/{bookId}/cover", CreateCoverForm("cover.png"));
// Assert
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
string content = await response.Content.ReadAsStringAsync();
Assert.True(response.StatusCode == HttpStatusCode.OK, $"Unexpected status {(int)response.StatusCode}: {content}");
string storedPath = JsonSerializer.Deserialize<string>(content)!;
Assert.False(string.IsNullOrWhiteSpace(storedPath));
Assert.Contains("cover.png", storedPath, StringComparison.OrdinalIgnoreCase);
@@ -92,8 +92,8 @@ public class UpdateBookCoverEndpointTests : IClassFixture<AuthenticatedLuminaApi
HttpResponseMessage response = await _client.PutAsync($"/api/v1/books/{bookId}/cover", CreateCoverForm("cover.png"));
// Assert
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
string content = await response.Content.ReadAsStringAsync();
Assert.True(response.StatusCode == HttpStatusCode.OK, $"Unexpected status {(int)response.StatusCode}: {content}");
string storedPath = JsonSerializer.Deserialize<string>(content)!;
Assert.False(string.IsNullOrWhiteSpace(storedPath));