Skip to content

Commit 5155556

Browse files
committed
fix styles and tests
1 parent 21e7bd1 commit 5155556

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Credentials/ExternalAccountCredentials.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public function updateMetadata(
332332
$metadata = $this->updateTrustBoundaryMetadata(
333333
$metadata,
334334
$this->buildTrustBoundaryLookupUrl(),
335-
$this->getUniverseDomain($httpHandler),
335+
$this->getUniverseDomain(),
336336
$httpHandler,
337337
);
338338
}

tests/FetchAuthTokenCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public function testUpdateMetadataWithGceCredForIdToken()
282282
$this->assertEquals($metadata, $metadata2);
283283

284284
// Ensure token for different URI is NOT cached
285-
$metadata3 = $cachedFetcher->updateMetadata([], 'http://test-auth-uri-2');
285+
$metadata3 = $cachedFetcher->updateMetadata([], 'http://test-auth-uri-2', getHandler([new Response(200)]));
286286
$this->assertNotEquals($metadata, $metadata3);
287287
}
288288

0 commit comments

Comments
 (0)