We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I chain the withServerVariables() function to the request in a test, it doesn't set my variable. Though It works fine in the PHPUnit test
$response = $this->withServerVariables(['REMOTE_ADDR' => '127.0.0.1'])->get('/');
and in the web.php route file:
Route::get('/', function () { Log::info($_SERVER); });
By checking the log file I can't find the REMOTE_ADDR variable at all
No response
3
8.2
macOS
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What Happened
When I chain the withServerVariables() function to the request in a test, it doesn't set my variable.
Though It works fine in the PHPUnit test
How to Reproduce
and in the web.php route file:
By checking the log file I can't find the REMOTE_ADDR variable at all
Sample Repository
No response
Pest Version
3
PHP Version
8.2
Operation System
macOS
Notes
No response
The text was updated successfully, but these errors were encountered: