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 4a9b7a7 commit d3ec0f2Copy full SHA for d3ec0f2
pubsub/api/test/pubsubTest.php
@@ -32,10 +32,14 @@ class PubSubTest extends TestCase
32
use EventuallyConsistentTestTrait;
33
34
private static $eodSubscriptionId;
35
+ private static $awsRoleArn = 'arn:aws:iam::111111111111:role/fake-role-name';
36
+ private static $gcpServiceAccount;
37
38
public static function setUpBeforeClass(): void
39
{
40
self::$eodSubscriptionId = 'test-eod-subscription-' . rand();
41
+ $json = file_get_contents(self::requireEnv('GOOGLE_APPLICATION_CREDENTIALS'));
42
+ self::$gcpServiceAccount = json_decode($json, true)['client_email'];
43
}
44
45
public function testSubscriptionPolicy()
0 commit comments