Remove ObjectRepository container concept

This commit is contained in:
Caelan Sayler
2024-03-28 09:43:27 +00:00
parent 980caf0493
commit f16bfe5349
9 changed files with 87 additions and 50 deletions

View File

@@ -18,7 +18,7 @@ public abstract class AzureCommandTests<T> : BaseCommandTests<T>
Assert.Equal("account-name", command.Account);
Assert.Equal("shhhh", command.Key);
Assert.Equal("https://endpoint/", command.Endpoint);
Assert.Equal("mycontainer", command.ContainerName);
Assert.Equal("mycontainer", command.Container);
}
}

View File

@@ -18,7 +18,7 @@ public abstract class S3CommandTests<T> : BaseCommandTests<T>
Assert.Equal("some key", command.KeyId);
Assert.Equal("shhhh", command.Secret);
Assert.Equal("http://endpoint/", command.Endpoint);
Assert.Equal("a-bucket", command.ContainerName);
Assert.Equal("a-bucket", command.Bucket);
}
[Fact]
@@ -33,7 +33,7 @@ public abstract class S3CommandTests<T> : BaseCommandTests<T>
Assert.Equal("some key", command.KeyId);
Assert.Equal("shhhh", command.Secret);
Assert.Equal("us-west-1", command.Region);
Assert.Equal("a-bucket", command.ContainerName);
Assert.Equal("a-bucket", command.Bucket);
}
[Fact]

View File

@@ -47,7 +47,7 @@ public class AzureDeploymentTests
var repo = new AzureRepository(logger);
var options = new AzureUploadOptions {
ReleaseDir = new DirectoryInfo(releaseDir),
ContainerName = AZ_CONTAINER,
Container = AZ_CONTAINER,
Channel = channel,
Account = AZ_ACCOUNT,
Key = AZ_KEY,

View File

@@ -47,7 +47,7 @@ public class S3DeploymentTests
var repo = new S3Repository(logger);
var options = new S3UploadOptions {
ReleaseDir = new DirectoryInfo(releaseDir),
ContainerName = B2_BUCKET,
Bucket = B2_BUCKET,
Channel = channel,
Endpoint = "https://" + B2_ENDPOINT,
KeyId = B2_KEYID,