Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods committed Aug 9, 2023
1 parent ef5d075 commit 733322a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module Aws

it 'prefers sso credentials over assume role' do
expect(SSOCredentials).to receive(:new).with(
sso_start_url: nil,
sso_start_url: 'START_URL',
sso_region: 'us-east-1',
sso_account_id: 'SSO_ACCOUNT_ID',
sso_role_name: 'SSO_ROLE_NAME',
Expand Down Expand Up @@ -163,7 +163,7 @@ module Aws

it 'loads SSO credentials from when the session name has quotes' do
expect(SSOCredentials).to receive(:new).with(
sso_start_url: nil,
sso_start_url: 'START_URL',
sso_region: 'us-east-1',
sso_account_id: 'SSO_ACCOUNT_ID',
sso_role_name: 'SSO_ROLE_NAME',
Expand Down Expand Up @@ -389,7 +389,7 @@ module Aws

it 'supports :source_profile from sso credentials' do
expect(SSOCredentials).to receive(:new).with(
sso_start_url: nil,
sso_start_url: 'START_URL',
sso_region: 'us-east-1',
sso_account_id: 'SSO_ACCOUNT_ID',
sso_role_name: 'SSO_ROLE_NAME',
Expand Down

0 comments on commit 733322a

Please sign in to comment.