dependencies

This commit is contained in:
2024-04-16 22:30:39 +01:00
parent 04a467dd83
commit 3af05fc034
23 changed files with 1617 additions and 185 deletions

View File

@ -155,10 +155,11 @@ namespace isnd.host.tests
repository.PackageSource.AllowInsecureConnections=true;
PackageSearchResource resource = await repository.GetResourceAsync<PackageSearchResource>();
SearchFilter searchFilter = new SearchFilter(includePrerelease: true);
IEnumerable<IPackageSearchMetadata> results = await resource.SearchAsync(
"isn",
"isnd",
searchFilter,
skip: 0,
take: 20,
@ -169,7 +170,7 @@ namespace isnd.host.tests
{
Console.WriteLine($"Found package {result.Identity.Id} {result.Identity.Version}");
}
Assert.True( results.Any(result => result.DependencySets.Any()));
}
[Fact]
@ -182,6 +183,7 @@ namespace isnd.host.tests
await pushRes.Push(new List<string>{ "../../../../../src/isnd/bin/Release/isnd.1.1.4.nupkg" }, null,
5000, false, GetApiKey, GetSymbolsApiKey, false, false, symbolPackageResource, logger);
}
[Fact]