Skip to content

Commit

Permalink
update test values
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean O'Brien committed Aug 5, 2024
1 parent 0dc9c79 commit 676b1f9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/Sts/StsClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function testCanCreateCredentialsObjectFromStsResultWithFederatedUser()
{
$result = new Result([
'FederatedUser' => [
'Arn' => 'arn:aws:iam::123456789000:user/test-user-1'
'Arn' => 'arn:aws:iam::foobar:user/test-user-1'
],
'Credentials' => [
'AccessKeyId' => 'foo',
Expand All @@ -152,7 +152,7 @@ public function testCanCreateCredentialsObjectFromStsResultWithFederatedUser()
$this->assertSame('foo', $credentials->getAccessKeyId());
$this->assertSame('bar', $credentials->getSecretKey());
$this->assertSame('baz', $credentials->getSecurityToken());
$this->assertSame('123456789000', $credentials->getAccountId());
$this->assertSame('foobar', $credentials->getAccountId());
$this->assertIsInt($credentials->getExpiration());
$this->assertFalse($credentials->isExpired());
}
Expand Down Expand Up @@ -187,7 +187,7 @@ public function stsAssumeRoleOperationsDataProvider(): array
'response' => [
"AssumedRoleUser" => [
"AssumedRoleId" => "roleId",
"Arn" => "arn:aws:sts::123456789012:assumed-role/assume-role-integration-test-role/Name"
"Arn" => "arn:aws:sts::foobar:assumed-role/assume-role-integration-test-role/Name"
],
"Credentials" => [
"AccessKeyId" => "foo",
Expand All @@ -196,7 +196,7 @@ public function stsAssumeRoleOperationsDataProvider(): array
]
],
'expected' => [
"accountId" => "123456789012",
"accountId" => "foobar",
"accessKeyId" => "foo",
"secretAccessKey" => "bar",
"sessionToken" => "baz"
Expand Down Expand Up @@ -245,7 +245,7 @@ public function stsAssumeRoleWithSAMLOperationsDataProvider(): array
'response' => [
"AssumedRoleUser" => [
"AssumedRoleId" => "roleId",
"Arn" => "arn:aws:sts::123456789012:assumed-role/assume-role-integration-test-role/Name"
"Arn" => "arn:aws:sts::foobar:assumed-role/assume-role-integration-test-role/Name"
],
"Credentials" => [
"AccessKeyId" => "foo",
Expand All @@ -254,7 +254,7 @@ public function stsAssumeRoleWithSAMLOperationsDataProvider(): array
]
],
'expected' => [
"accountId" => "123456789012",
"accountId" => "foobar",
"accessKeyId" => "foo",
"secretAccessKey" => "bar",
"sessionToken" => "baz"
Expand Down Expand Up @@ -296,7 +296,7 @@ public function stsAssumeRoleWithWebIdentityOperationsDataProvider(): array
'response' => [
"AssumedRoleUser" => [
"AssumedRoleId" => "roleId",
"Arn" => "arn:aws:sts::123456789012:assumed-role/assume-role-integration-test-role/Name"
"Arn" => "arn:aws:sts::foobar:assumed-role/assume-role-integration-test-role/Name"
],
"Credentials" => [
"AccessKeyId" => "foo",
Expand All @@ -305,7 +305,7 @@ public function stsAssumeRoleWithWebIdentityOperationsDataProvider(): array
]
],
'expected' => [
"accountId" => "123456789012",
"accountId" => "foobar",
"accessKeyId" => "foo",
"secretAccessKey" => "bar",
"sessionToken" => "baz"
Expand Down Expand Up @@ -352,7 +352,7 @@ public function stsGetFederationTokenOperationsDataProvider(): array
'response' => [
"FederatedUser" => [
"FederatedUserId" => "roleId",
"Arn" => "arn:aws:sts::123456789012:assumed-role/assume-role-integration-test-role/Name"
"Arn" => "arn:aws:sts::foobar:assumed-role/assume-role-integration-test-role/Name"
],
"Credentials" => [
"AccessKeyId" => "foo",
Expand All @@ -361,7 +361,7 @@ public function stsGetFederationTokenOperationsDataProvider(): array
]
],
'expected' => [
"accountId" => "123456789012",
"accountId" => "foobar",
"accessKeyId" => "foo",
"secretAccessKey" => "bar",
"sessionToken" => "baz"
Expand Down

0 comments on commit 676b1f9

Please sign in to comment.