diff --git a/lib/plugins/aws/provider/awsProvider.test.js b/lib/plugins/aws/provider/awsProvider.test.js index f4b8e7705..12bb50f07 100644 --- a/lib/plugins/aws/provider/awsProvider.test.js +++ b/lib/plugins/aws/provider/awsProvider.test.js @@ -461,6 +461,7 @@ describe('AwsProvider', () => { }); it('should get credentials when profile is provied via --aws-profile option', () => { + process.env.AWS_PROFILE = 'envDefault'; newAwsProvider.options['aws-profile'] = 'notDefault'; const credentials = newAwsProvider.getCredentials();