Feat rebrand armature (#43)
All checks were successful
CI/CD / detect-changes (push) Successful in 3s
CI/CD / test-frontend (push) Successful in 5s
CI/CD / test-go-pg (push) Successful in 2m34s
CI/CD / test-sqlite (push) Successful in 2m46s
CI/CD / build-and-deploy (push) Successful in 1m55s

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:
2026-03-31 23:25:37 +00:00
committed by xcaliber
parent fb5284f667
commit 680ec3b897
321 changed files with 956 additions and 1033 deletions

View File

@@ -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()