Skip to content

Commit 77710aa

Browse files
committed
fix fixtures path in tests
1 parent f881c9e commit 77710aa

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/Credentials/ImpersonatedServiceAccountCredentialsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ public function testUpdateMetadataWithTrustBoundary()
563563
'service_account_impersonation_url' => 'https://iamcredentials.googleapis.com/v1',
564564
'source_credentials' => [
565565
'type' => 'service_account',
566-
'private_key' => file_get_contents(__DIR__ . '/../fixtures/private.pem'),
566+
'private_key' => file_get_contents(__DIR__ . '/../fixtures/fixtures1/private.pem'),
567567
'client_email' => 'test@example.com',
568568
],
569569
];
@@ -589,7 +589,7 @@ public function testUpdateMetadataWithTrustBoundarySuppressedWithUniverseDomain(
589589
'service_account_impersonation_url' => 'https://iamcredentials.googleapis.com/v1',
590590
'source_credentials' => [
591591
'type' => 'service_account',
592-
'private_key' => file_get_contents(__DIR__ . '/../fixtures/private.pem'),
592+
'private_key' => file_get_contents(__DIR__ . '/../fixtures/fixtures1/private.pem'),
593593
'client_email' => 'test@example.com',
594594
'universe_domain' => 'foo.com'
595595
],

tests/Credentials/ServiceAccountCredentialsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ public function testUpdateMetadataWithTrustBoundary()
434434

435435
$jsonKey = [
436436
'type' => 'service_account',
437-
'private_key' => file_get_contents(__DIR__ . '/../fixtures/private.pem'),
437+
'private_key' => file_get_contents(__DIR__ . '/../fixtures/fixtures1/private.pem'),
438438
'client_email' => 'test@example.com',
439439
];
440440
$serviceAccountCreds = new ServiceAccountCredentials(
@@ -453,7 +453,7 @@ public function testUpdateMetadataWithTrustBoundarySuppressedWithUniverseDomain(
453453
{
454454
$jsonKey = [
455455
'type' => 'service_account',
456-
'private_key' => file_get_contents(__DIR__ . '/../fixtures/private.pem'),
456+
'private_key' => file_get_contents(__DIR__ . '/../fixtures/fixtures1/private.pem'),
457457
'client_email' => 'test@example.com',
458458
'universe_domain' => 'foo.com',
459459
];

tests/Credentials/ServiceAccountJwtAccessCredentialsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ public function testUpdateMetadataWithTrustBoundary()
561561

562562
$jsonKey = [
563563
'type' => 'service_account',
564-
'private_key' => file_get_contents(__DIR__ . '/../fixtures/private.pem'),
564+
'private_key' => file_get_contents(__DIR__ . '/../fixtures/fixtures1/private.pem'),
565565
'client_email' => 'test@example.com',
566566
];
567567
$serviceAccountCreds = new ServiceAccountCredentials(

0 commit comments

Comments
 (0)