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

Function TestHelloWorld_worker

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

Source from the content-addressed store, hash-verified

153
154func TestHelloWorld_module(t *testing.T) { testHelloWorld(t, nil) }
155func TestHelloWorld_worker(t *testing.T) {
156 testHelloWorld(t, &testOptions{workerScript: "index.php"})
157}
158func testHelloWorld(t *testing.T, opts *testOptions) {
159 runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) {
160 body, _ := testGet(fmt.Sprintf("http://example.com/index.php?i=%d", i), handler, t)

Callers

nothing calls this directly

Calls 1

testHelloWorldFunction · 0.85

Tested by

no test coverage detected