Skip to content

Commit

Permalink
test(TestDownloadFolder): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MingboPeng committed Jan 24, 2024
1 parent 376299e commit 9ff0111
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/PollinationSDK.Tests/Api/UtilityTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ public void TestDownloadFolder()
{
var api = new ArtifactsApi();
var relativeFolderPath = new List<string> { "testSubDir" };
relativeFolderPath = null;
var projOwner = "ladybug-tools";
var projName = "demo-project";
var projName = "demo";


var pathes = Helper.GetAllFilesAsync(api, projOwner, projName, relativeFolderPath, "").GetAwaiter().GetResult();
Assert.IsTrue(pathes != null);
Assert.IsTrue(pathes.Count() > 20);
Assert.IsTrue(pathes.Count() > 3);
}


Expand Down

0 comments on commit 9ff0111

Please sign in to comment.