diff --git a/test/Docker.Registry.DotNet.Tests/ImageReferenceTests.cs b/test/Docker.Registry.DotNet.Tests/ImageReferenceTests.cs index 59ea432..82804db 100644 --- a/test/Docker.Registry.DotNet.Tests/ImageReferenceTests.cs +++ b/test/Docker.Registry.DotNet.Tests/ImageReferenceTests.cs @@ -32,7 +32,7 @@ public void ImageReferenceWithDigestShouldWork(string digest) imageRef.Should().NotBeNull(); - imageRef.Value.Should().Be(digest.Trim().ToLower()); + imageRef.Digest?.ToString().Should().Be(digest.Trim().ToLower()); imageRef.IsDigest.Should().BeTrue(); } @@ -46,7 +46,7 @@ public void ImageReferenceWithTagShouldWork() imageRef.Should().NotBeNull(); - imageRef.Value.Should().Be(tag.Trim()); + imageRef.Tag?.ToString().Should().Be(tag.Trim()); imageRef.IsTag.Should().BeTrue(); }