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

Function TestServerVariable_worker

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

Source from the content-addressed store, hash-verified

188 testServerVariable(t, nil)
189}
190func TestServerVariable_worker(t *testing.T) {
191 testServerVariable(t, &testOptions{workerScript: "server-variable.php"})
192}
193func testServerVariable(t *testing.T, opts *testOptions) {
194 runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) {
195 req := httptest.NewRequest("POST", fmt.Sprintf("http://example.com/server-variable.php/baz/bat?foo=a&bar=b&i=%d#hash", i), strings.NewReader("foo"))

Callers

nothing calls this directly

Calls 1

testServerVariableFunction · 0.85

Tested by

no test coverage detected