Skip to content

Commit

Permalink
Do not use unreleased function from Castor
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrech committed May 22, 2024
1 parent 5949fc2 commit d42ed1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .castor/castor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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,
]);

Expand Down

0 comments on commit d42ed1f

Please sign in to comment.