Commit e235107
🧪 [testing improvement] Add test for case-insensitive hostname matching (#622)
- Added testVerifyHostnameMatchCaseInsensitive to ReCaptchaTest.php.
- Verified that the test correctly handles mismatched casing between expected and actual hostnames.
- Confirmed that the test fails if case-insensitive matching is disabled.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: rowan-m <108052+rowan-m@users.noreply.github.com>1 parent a6c5041 commit e235107
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
195 | 208 | | |
196 | 209 | | |
197 | 210 | | |
| |||
0 commit comments