Skip to content

Commit 98c0588

Browse files
swalkinshawclaude
andcommitted
Allow insecure HTTP for composer in integration tests
The httptest server uses plain HTTP (http://127.0.0.1:...) which Composer's secure-http default blocks. Add secure-http: false to the generated composer.json config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3d7574d commit 98c0588

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/integration/helpers_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ func writeComposerJSON(t *testing.T, dir, repoURL string, require map[string]str
5050
"allow-plugins": map[string]any{
5151
"composer/installers": true,
5252
},
53+
"secure-http": false,
5354
},
5455
}
5556
jsonData, err := json.MarshalIndent(data, "", " ")

0 commit comments

Comments
 (0)