File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ class StsClientTest extends TestCase
1515{
1616 public function testAssumeRole (): void
1717 {
18- self ::markTestSkipped ('No Docker image for STS ' );
19-
2018 $ client = $ this ->getClient ();
2119
2220 $ input = new AssumeRoleRequest ([
@@ -47,10 +45,6 @@ public function testAssumeRole(): void
4745
4846 public function testAssumeRoleWithWebIdentity (): void
4947 {
50- self ::markTestSkipped ('No Docker image for STS ' );
51-
52- self ::markTestIncomplete ('Not implemented ' );
53-
5448 $ client = $ this ->getClient ();
5549
5650 $ input = new AssumeRoleWithWebIdentityRequest ([
@@ -78,8 +72,6 @@ public function testAssumeRoleWithWebIdentity(): void
7872
7973 public function testGetCallerIdentity (): void
8074 {
81- self ::markTestSkipped ('No Docker image for STS ' );
82-
8375 $ client = $ this ->getClient ();
8476
8577 $ input = new GetCallerIdentityRequest ([
@@ -96,6 +88,8 @@ public function testGetCallerIdentity(): void
9688
9789 private function getClient (): StsClient
9890 {
91+ self ::markTestSkipped ('No Docker image for STS ' );
92+
9993 return new StsClient ([
10094 'endpoint ' => 'http://localhost ' ,
10195 ], new NullProvider ());
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class AssumeRoleWithWebIdentityResponseTest extends TestCase
1111{
1212 public function testAssumeRoleWithWebIdentityResponse (): void
1313 {
14- // see https://docs.aws.amazon.com/SERVICE /latest/APIReference/API_METHOD .html
14+ // see https://docs.aws.amazon.com/STS /latest/APIReference/API_AssumeRoleWithWebIdentity .html
1515 $ response = new SimpleMockedResponse ('<AssumeRoleWithWebIdentityResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/">
1616 <AssumeRoleWithWebIdentityResult>
1717 <SubjectFromWebIdentityToken>amzn1.account.AF6RHO7KZU5XRVQJGXK6HB56KR2A</SubjectFromWebIdentityToken>
You can’t perform that action at this time.
0 commit comments