Пример #1
0
        public async Task GetPackageDeleteLeaf()
        {
            var leaf = await _target.GetPackageDeleteLeafAsync(TestData.PackageDeleteCatalogLeafUrl);

            Assert.Equal(TestData.PackageDeleteCatalogLeafUrl, leaf.CatalogLeafUrl);
            Assert.Equal(CatalogLeafType.PackageDelete, leaf.Type);

            Assert.Equal("Deleted.Package", leaf.PackageId);
            Assert.Equal("1.0.0", leaf.PackageVersion);
        }
Пример #2
0
        public async Task GetPackageDeleteLeaf()
        {
            var leaf = await _target.GetPackageDeleteLeafAsync(TestData.PackageDeleteCatalogLeafUrl);

            Assert.Equal(TestData.PackageDeleteCatalogLeafUrl, leaf.CatalogLeafUrl);
            Assert.Equal("PackageDelete", leaf.Type[0]);
            Assert.Equal("catalog:Permalink", leaf.Type[1]);

            Assert.Equal("Deleted.Package", leaf.PackageId);
            Assert.Equal("1.0.0", leaf.PackageVersion);
        }