We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffcf7b0 commit bb9adefCopy full SHA for bb9adef
src/Symfony/Component/Notifier/Bridge/AmazonSns/Tests/AmazonSnsTransportFactoryTest.php
@@ -18,6 +18,12 @@ class AmazonSnsTransportFactoryTest extends TransportFactoryTestCase
18
{
19
public function createFactory(): AmazonSnsTransportFactory
20
21
+ // Tests will fail if a ~/.aws/config file exists with a default.region value,
22
+ // or if AWS_REGION env variable is set.
23
+ // Setting a profile & region names will bypass default options retrieved by \AsyncAws\Core::get
24
+ $_ENV['AWS_PROFILE'] = 'not-existing';
25
+ $_ENV['AWS_REGION'] = 'us-east-1';
26
+
27
return new AmazonSnsTransportFactory();
28
}
29
0 commit comments