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

Function TestFinishRequest_worker

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

Source from the content-addressed store, hash-verified

175
176func TestFinishRequest_module(t *testing.T) { testFinishRequest(t, nil) }
177func TestFinishRequest_worker(t *testing.T) {
178 testFinishRequest(t, &testOptions{workerScript: "finish-request.php"})
179}
180func testFinishRequest(t *testing.T, opts *testOptions) {
181 runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) {
182 body, _ := testGet(fmt.Sprintf("http://example.com/finish-request.php?i=%d", i), handler, t)

Callers

nothing calls this directly

Calls 1

testFinishRequestFunction · 0.85

Tested by

no test coverage detected