Skip to content

Commit

Permalink
test: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
mu88 authored Jul 15, 2024
1 parent 62db326 commit 89eeec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Tests/System/SystemTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:");
}

Expand Down Expand Up @@ -95,4 +95,4 @@ private static IContainer BuildScreenshotCreatorContainer(INetwork network) =>

private static Uri GetScreenshotCreatorBaseAddress(IContainer screenshotCreatorContainer) =>
new($"http://{screenshotCreatorContainer.Hostname}:{screenshotCreatorContainer.GetMappedPublicPort(8080)}/screenshotCreator");
}
}

0 comments on commit 89eeec6

Please sign in to comment.