Commit fd89b76
committed
minor symfony#59480 [Notifier] Avoid failing SNS test with local AWS configuration (mRoca)
This PR was merged into the 6.4 branch.
Discussion
----------
[Notifier] Avoid failing SNS test with local AWS configuration
| Q | A
| ------------- | ---
| Branch? |6.4
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? |no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues |
| License | MIT
Currently, because of [AsyncAws way to get config options](https://github.com/async-aws/core/blob/master/src/EnvVar.php), Notifier tests cannot pass if you have any `AWS_***` default variables in your environment, or if you have a `~/.aws/config` file with the following content:
```
[default]
region=eu-west-1
```
Setting `AWS_PROFILE` env value allows bypassing default values, and overriding `AWS_REGION` value will allow tests without specified regions to pass.
Commits
-------
bb9adef tests(notifier): avoid failing SNS test with local AWS configurationFile tree
1 file changed
+6
-0
lines changed- src/Symfony/Component/Notifier/Bridge/AmazonSns/Tests
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| |||
0 commit comments