File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Core/tests/Integration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function testAssumeRoleWithWebIdentity(): void
65
65
self ::assertNotNull ($ result ->getCredentials ());
66
66
self ::assertLessThanOrEqual (new \DateTime ('+5min ' ), $ result ->getCredentials ()->getExpiration ());
67
67
self ::assertNotNull ($ result ->getAssumedRoleUser ());
68
- self ::assertSame ('arn:aws:sts::000000000000 :assumed-role/FederatedWebIdentityRole/app1 ' , $ result ->getAssumedRoleUser ()->getArn ());
68
+ self ::assertSame ('arn:aws:sts::123456789012 :assumed-role/FederatedWebIdentityRole/app1 ' , $ result ->getAssumedRoleUser ()->getArn ());
69
69
self ::assertSame (6 , $ result ->getPackedPolicySize ());
70
70
}
71
71
@@ -78,7 +78,7 @@ public function testGetCallerIdentity(): void
78
78
79
79
self ::assertNotNull ($ result ->getUserId ());
80
80
self ::assertStringContainsString ('000000000000 ' , $ result ->getAccount ());
81
- self ::assertStringContainsString ('arn:aws:sts ::000000000000:user/localstack ' , $ result ->getArn ());
81
+ self ::assertStringContainsString ('arn:aws:iam ::000000000000:root ' , $ result ->getArn ());
82
82
}
83
83
84
84
public function testNonAwsRegionWithCustomEndpoint (): void
You can’t perform that action at this time.
0 commit comments