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

Function TestException_worker

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

Source from the content-addressed store, hash-verified

559
560func TestException_module(t *testing.T) { testException(t, &testOptions{}) }
561func TestException_worker(t *testing.T) {
562 testException(t, &testOptions{workerScript: "exception.php"})
563}
564func testException(t *testing.T, opts *testOptions) {
565 runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) {
566 body, _ := testGet(fmt.Sprintf("http://example.com/exception.php?i=%d", i), handler, t)

Callers

nothing calls this directly

Calls 1

testExceptionFunction · 0.85

Tested by

no test coverage detected