(t *testing.T)
| 310 | |
| 311 | func TestPostSuperGlobals_module(t *testing.T) { testPostSuperGlobals(t, nil) } |
| 312 | func TestPostSuperGlobals_worker(t *testing.T) { |
| 313 | testPostSuperGlobals(t, &testOptions{workerScript: "super-globals.php"}) |
| 314 | } |
| 315 | func testPostSuperGlobals(t *testing.T, opts *testOptions) { |
| 316 | runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) { |
| 317 | formData := url.Values{"baz": {"bat"}, "i": {fmt.Sprintf("%d", i)}} |
nothing calls this directly
no test coverage detected