Feat rebrand armature (#43)
All checks were successful
All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #43.
This commit is contained in:
@@ -45,7 +45,7 @@ func TestS3_FullKey(t *testing.T) {
|
||||
want string
|
||||
}{
|
||||
{"", "files/ch/f.txt", "files/ch/f.txt"},
|
||||
{"switchboard/", "files/ch/f.txt", "switchboard/files/ch/f.txt"},
|
||||
{"armature/", "files/ch/f.txt", "armature/files/ch/f.txt"},
|
||||
{"prefix", "files/ch/f.txt", "prefix/files/ch/f.txt"}, // trailing slash added by NewS3
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ func TestS3_KeyValidation(t *testing.T) {
|
||||
// Set these environment variables to run:
|
||||
//
|
||||
// S3_TEST_ENDPOINT=localhost:9000
|
||||
// S3_TEST_BUCKET=switchboard-test
|
||||
// S3_TEST_BUCKET=armature-test
|
||||
// S3_TEST_ACCESS_KEY=minioadmin
|
||||
// S3_TEST_SECRET_KEY=minioadmin
|
||||
//
|
||||
@@ -103,7 +103,7 @@ func TestS3_KeyValidation(t *testing.T) {
|
||||
// -e MINIO_ROOT_USER=minioadmin -e MINIO_ROOT_PASSWORD=minioadmin \
|
||||
// minio/minio server /data --console-address :9001
|
||||
// mc alias set local http://localhost:9000 minioadmin minioadmin
|
||||
// mc mb local/switchboard-test
|
||||
// mc mb local/armature-test
|
||||
|
||||
func testS3Store(t *testing.T) *S3Store {
|
||||
t.Helper()
|
||||
|
||||
Reference in New Issue
Block a user