MCPcopy Create free account
hub / github.com/php/frankenphp / TestPostSuperGlobals_worker

Function TestPostSuperGlobals_worker

frankenphp_test.go:312–314  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

310
311func TestPostSuperGlobals_module(t *testing.T) { testPostSuperGlobals(t, nil) }
312func TestPostSuperGlobals_worker(t *testing.T) {
313 testPostSuperGlobals(t, &testOptions{workerScript: "super-globals.php"})
314}
315func 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)}}

Callers

nothing calls this directly

Calls 1

testPostSuperGlobalsFunction · 0.85

Tested by

no test coverage detected