We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2bf9d7 commit eb674c8Copy full SHA for eb674c8
tests/Testcontainers.Tests/Unit/Images/TestcontainersImageTest.cs
@@ -73,14 +73,14 @@ public void WhenImageNameGetsAssigned(DockerImageFixtureSerializable serializabl
73
public void Platform_PlatformIsLinuxAmd64_ReturnsLinuxAmd64()
74
{
75
// Given
76
- const string platform = "linux/amd64";
77
- IImage dockerImage = new DockerImage("foo", platform);
+ const string linuxAmd64 = "linux/amd64";
+ IImage dockerImage = new DockerImage("foo", new Platform(linuxAmd64));
78
79
// When
80
var result = dockerImage.Platform;
81
82
// Then
83
- Assert.Equal(platform, result);
+ Assert.Equal(linuxAmd64, result);
84
}
85
86
[Fact]
0 commit comments