Skip to content

Commit 2a8a21e

Browse files
committed
Adjust tests so they point to homestead domain
1 parent f1df535 commit 2a8a21e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Functional/NpmProxyAuditRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function testWithGzippedBody(): void
2424
{
2525
$request = new Request(
2626
'POST',
27-
new Uri('127.0.0.1/-/npm/v1/security/audits'),
27+
new Uri('http://audit-proxy.test/-/npm/v1/security/audits'),
2828
json_decode(file_get_contents(__DIR__ . '/../fixtures/headers-npm.json'), true),
2929
fopen(__DIR__ . '/../fixtures/request-body-npm.gz', 'r')
3030
);

tests/Functional/YarnProxyAuditRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function testWithGzippedBody(): void
2323
{
2424
$request = new Request(
2525
'POST',
26-
new Uri('127.0.0.1/-/npm/v1/security/audits'),
26+
new Uri('http://audit-proxy.test/-/npm/v1/security/audits'),
2727
json_decode(file_get_contents(__DIR__ . '/../fixtures/headers-yarn.json'), true),
2828
fopen(__DIR__ . '/../fixtures/request-body-yarn.gz', 'r')
2929
);

0 commit comments

Comments
 (0)