(t *testing.T)
| 328 | |
| 329 | func TestRequestSuperGlobal_module(t *testing.T) { testRequestSuperGlobal(t, nil) } |
| 330 | func TestRequestSuperGlobal_worker(t *testing.T) { |
| 331 | phpIni := make(map[string]string) |
| 332 | phpIni["auto_globals_jit"] = "1" |
| 333 | testRequestSuperGlobal(t, &testOptions{workerScript: "request-superglobal.php", phpIni: phpIni}) |
| 334 | } |
| 335 | func testRequestSuperGlobal(t *testing.T, opts *testOptions) { |
| 336 | runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) { |
| 337 | // Test with both GET and POST parameters |
nothing calls this directly
no test coverage detected