MCPcopy Create free account
hub / github.com/php/frankenphp / TestAutoloader_worker

Function TestAutoloader_worker

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

Source from the content-addressed store, hash-verified

474
475func TestAutoloader_module(t *testing.T) { testAutoloader(t, nil) }
476func TestAutoloader_worker(t *testing.T) {
477 testAutoloader(t, &testOptions{workerScript: "autoloader.php"})
478}
479func testAutoloader(t *testing.T, opts *testOptions) {
480 runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) {
481 body, _ := testGet(fmt.Sprintf("http://example.com/autoloader.php?i=%d", i), handler, t)

Callers

nothing calls this directly

Calls 1

testAutoloaderFunction · 0.85

Tested by

no test coverage detected