mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix azure folder uploading and align with s3 implementation
This commit is contained in:
@@ -34,10 +34,10 @@ public class AzureDownloadCommandTests : AzureCommandTests<AzureDownloadCommand>
|
||||
{
|
||||
var command = new AzureDownloadCommand();
|
||||
|
||||
string cli = GetRequiredDefaultOptions() + " --folder \"releases/v1\"";
|
||||
string cli = GetRequiredDefaultOptions() + " --prefix \"releases/v1\"";
|
||||
ParseResult parseResult = command.ParseAndApply(cli);
|
||||
|
||||
Assert.Equal("releases/v1", command.Folder);
|
||||
Assert.Equal("releases/v1", command.Prefix);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,10 +55,10 @@ public class AzureUploadCommandTests : AzureCommandTests<AzureUploadCommand>
|
||||
{
|
||||
var command = new AzureUploadCommand();
|
||||
|
||||
string cli = GetRequiredDefaultOptions() + " --folder \"releases/v1\"";
|
||||
string cli = GetRequiredDefaultOptions() + " --prefix \"releases/v1\"";
|
||||
ParseResult parseResult = command.ParseAndApply(cli);
|
||||
|
||||
Assert.Equal("releases/v1", command.Folder);
|
||||
Assert.Equal("releases/v1", command.Prefix);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user