From d42ed1f4f77dc009f103243cc310d787db844672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFck=20Piera?= Date: Wed, 22 May 2024 17:05:07 +0200 Subject: [PATCH] Do not use unreleased function from Castor --- .castor/castor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.castor/castor.php b/.castor/castor.php index 17e5293..2cdc286 100644 --- a/.castor/castor.php +++ b/.castor/castor.php @@ -5,7 +5,7 @@ use function Castor\context; use function Castor\finder; use function Castor\fs; -use function Castor\http_request; +use function Castor\request; use function Castor\io; use function Castor\run; @@ -139,7 +139,7 @@ function example(string $example): void function assertResponse(string $url, int $expectedStatusCode): bool { - $response = http_request('GET', 'http://127.0.0.1:8080' . $url, [ + $response = request('GET', 'http://127.0.0.1:8080' . $url, [ 'max_redirects' => 0, ]);