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

Function TestCookies_worker

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

Source from the content-addressed store, hash-verified

378
379func TestCookies_module(t *testing.T) { testCookies(t, nil) }
380func TestCookies_worker(t *testing.T) { testCookies(t, &testOptions{workerScript: "cookies.php"}) }
381func testCookies(t *testing.T, opts *testOptions) {
382 runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) {
383 req := httptest.NewRequest("GET", "http://example.com/cookies.php", nil)

Callers

nothing calls this directly

Calls 1

testCookiesFunction · 0.85

Tested by

no test coverage detected