Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow request IP retrieval during tests via server parameters (#7187)
* Enable retrieving the a mocked request IP during test execution by accessing server parameters This update allows retrieving the request IP address while running tests by enabling access to the REMOTE_ADDR server parameter. This enhancement is particularly useful for scenarios where the application logic relies on the client’s IP address, ensuring consistent behavior in both runtime and testing environments. By leveraging mock server parameters, developers can validate IP-dependent functionality during automated tests with greater accuracy and flexibility.
- Loading branch information