diff --git a/tests/Tests/System/SystemTests.cs b/tests/Tests/System/SystemTests.cs index 625a15e..e33b6f8 100644 --- a/tests/Tests/System/SystemTests.cs +++ b/tests/Tests/System/SystemTests.cs @@ -29,7 +29,7 @@ public async Task CreateImageNowForOpenHabAndScreenshotCreatorBothRunningInDocke result.Should().HaveStatusCode(HttpStatusCode.OK); result.Content.Headers.ContentType.Should().NotBeNull(); result.Content.Headers.ContentType!.MediaType.Should().Be("image/png"); - (await result.Content.ReadAsByteArrayAsync()).Length.Should().BeInRange(10000, 15000); + (await result.Content.ReadAsByteArrayAsync()).Length.Should().BeInRange(9000, 15000); logValues.Stdout.Should().NotContain("warn:"); } @@ -95,4 +95,4 @@ private static IContainer BuildScreenshotCreatorContainer(INetwork network) => private static Uri GetScreenshotCreatorBaseAddress(IContainer screenshotCreatorContainer) => new($"http://{screenshotCreatorContainer.Hostname}:{screenshotCreatorContainer.GetMappedPublicPort(8080)}/screenshotCreator"); -} \ No newline at end of file +}