Skip to content

Commit a3dcadf

Browse files
committed
676: update to latest attestation lib
Also removes http params assertion because that is an implementation detail of the library, not something PIE needs to assert any more
1 parent 731dbb6 commit a3dcadf

3 files changed

Lines changed: 9 additions & 18 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"symfony/console": "^6.4.42",
3838
"symfony/event-dispatcher": "^6.4.37",
3939
"symfony/process": "^6.4.41",
40-
"thephpf/attestation": "^0.0.6",
40+
"thephpf/attestation": "^0.0.7",
4141
"webmozart/assert": "^1.12.1"
4242
},
4343
"require-dev": {

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/unit/SelfManage/Verify/FallbackVerificationUsingOpenSslTest.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,7 @@ private function mockAttestationResponse(string $digestInUrl, string $dsseEnvelo
147147
$url = self::TEST_GITHUB_URL . '/orgs/php/attestations/sha256:' . $digestInUrl . '?predicate_type=provenance';
148148
$this->httpDownloader->expects(self::once())
149149
->method('get')
150-
->with(
151-
$url,
152-
[
153-
'retry-auth-failure' => true,
154-
'http' => [
155-
'method' => 'GET',
156-
'header' => [],
157-
],
158-
],
159-
)
150+
->with($url)
160151
->willReturn(
161152
new Response(
162153
['url' => $url],

0 commit comments

Comments
 (0)