diff --git a/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs b/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs index 2d2f0ac6..6f87db27 100644 --- a/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs +++ b/test/Microsoft.ComponentDetection.Detectors.Tests/PnpmParsingUtilitiesTest.cs @@ -36,7 +36,7 @@ public void DeserializePnpmYamlFileV3() shrinkwrapMinorVersion: 7 shrinkwrapVersion: 3"; var pnpmParsingUtilities = PnpmParsingUtilitiesFactory.Create(); - var version = pnpmParsingUtilities.DeserializePnpmYamlFileVersion(yamlFile); + var version = PnpmParsingUtilitiesFactory.DeserializePnpmYamlFileVersion(yamlFile); version.Should().BeNull(); // Versions older than 5 report null as they don't use the same version field. var parsedYaml = pnpmParsingUtilities.DeserializePnpmYamlFile(yamlFile);