aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/auth_credentials_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/s3api/auth_credentials_test.go')
-rw-r--r--weed/s3api/auth_credentials_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/s3api/auth_credentials_test.go b/weed/s3api/auth_credentials_test.go
index 0753a833e..5bdf27256 100644
--- a/weed/s3api/auth_credentials_test.go
+++ b/weed/s3api/auth_credentials_test.go
@@ -194,7 +194,7 @@ func TestLoadS3ApiConfiguration(t *testing.T) {
expectIdent: &Identity{
Name: "notSpecifyAccountId",
Account: &AccountAdmin,
- PrincipalArn: "arn:seaweed:iam::user/notSpecifyAccountId",
+ PrincipalArn: "arn:aws:iam::user/notSpecifyAccountId",
Actions: []Action{
"Read",
"Write",
@@ -220,7 +220,7 @@ func TestLoadS3ApiConfiguration(t *testing.T) {
expectIdent: &Identity{
Name: "specifiedAccountID",
Account: &specifiedAccount,
- PrincipalArn: "arn:seaweed:iam::user/specifiedAccountID",
+ PrincipalArn: "arn:aws:iam::user/specifiedAccountID",
Actions: []Action{
"Read",
"Write",
@@ -238,7 +238,7 @@ func TestLoadS3ApiConfiguration(t *testing.T) {
expectIdent: &Identity{
Name: "anonymous",
Account: &AccountAnonymous,
- PrincipalArn: "arn:seaweed:iam::user/anonymous",
+ PrincipalArn: "arn:aws:iam::user/anonymous",
Actions: []Action{
"Read",
"Write",