Skip to content

Commit f564f87

Browse files
committed
fix more styles and tests
1 parent 5155556 commit f564f87

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Credentials/ExternalAccountCredentials.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,6 @@ private function buildTrustBoundaryLookupUrl(): string
467467
);
468468
}
469469

470-
throw new LogicException("Invalid audience format.");
470+
throw new LogicException('Invalid audience format');
471471
}
472472
}

tests/TrustBoundaryTraitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testLookupTrustBoundary()
3636
new Response(200, [], $responseBody),
3737
]);
3838
$handler = HttpHandlerFactory::build(new Client(['handler' => $mock]));
39-
$result = $this->impl->lookupTrustBoundary($handler, 'default', []);
39+
$result = $this->impl->lookupTrustBoundary($handler, 'default', ['Bearer xyz']);
4040
$this->assertEquals(json_decode($responseBody, true), $result);
4141
}
4242

@@ -46,7 +46,7 @@ public function testLookupTrustBoundary404()
4646
new Response(404),
4747
]);
4848
$handler = HttpHandlerFactory::build(new Client(['handler' => $mock]));
49-
$result = $this->impl->lookupTrustBoundary($handler, 'default', []);
49+
$result = $this->impl->lookupTrustBoundary($handler, 'default', ['Bearer xyz']);
5050
$this->assertNull($result);
5151
}
5252

0 commit comments

Comments
 (0)