MCPcopy Index your code
hub / github.com/php/frankenphp / TestInput_worker

Function TestInput_worker

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

Source from the content-addressed store, hash-verified

299
300func TestInput_module(t *testing.T) { testInput(t, nil) }
301func TestInput_worker(t *testing.T) { testInput(t, &testOptions{workerScript: "input.php"}) }
302func testInput(t *testing.T, opts *testOptions) {
303 runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) {
304 body, resp := testPost("http://example.com/input.php", fmt.Sprintf("post data %d", i), handler, t)

Callers

nothing calls this directly

Calls 1

testInputFunction · 0.85

Tested by

no test coverage detected