public async Task GetPackageDetailsLeaf() { var leaf = await _target.GetPackageDetailsLeafAsync(TestData.PackageDetailsCatalogLeafUrl); Assert.Equal(TestData.PackageDetailsCatalogLeafUrl, leaf.CatalogLeafUrl); Assert.Equal(CatalogLeafType.PackageDetails, leaf.Type); Assert.Equal("Test.Package", leaf.PackageId); Assert.Equal("1.0.0", leaf.PackageVersion); }
public async Task GetPackageDetailsLeaf() { var leaf = await _target.GetPackageDetailsLeafAsync(TestData.PackageDetailsCatalogLeafUrl); Assert.Equal(TestData.PackageDetailsCatalogLeafUrl, leaf.CatalogLeafUrl); Assert.Equal("PackageDetails", leaf.Type[0]); Assert.Equal("catalog:Permalink", leaf.Type[1]); Assert.Equal("Test.Package", leaf.PackageId); Assert.Equal("1.0.0", leaf.PackageVersion); }