Browse Source

Fix failing IPTC test

pull/1553/head
Brian Popow 5 years ago
parent
commit
a2424750c6
  1. 5
      tests/ImageSharp.Tests/Metadata/Profiles/IPTC/IptcProfileTests.cs

5
tests/ImageSharp.Tests/Metadata/Profiles/IPTC/IptcProfileTests.cs

@ -121,8 +121,9 @@ namespace SixLabors.ImageSharp.Tests.Metadata.Profiles.IPTC
{
using (Image<TPixel> image = provider.GetImage(TiffDecoder))
{
Assert.NotNull(image.Metadata.IptcProfile);
var iptcValues = image.Metadata.IptcProfile.Values.ToList();
IptcProfile iptc = image.Frames.RootFrame.Metadata.IptcProfile;
Assert.NotNull(iptc);
var iptcValues = iptc.Values.ToList();
IptcProfileContainsExpectedValues(iptcValues);
}
}

Loading…
Cancel
Save