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

Function TestFileUpload_worker

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

Source from the content-addressed store, hash-verified

782
783func TestFileUpload_module(t *testing.T) { testFileUpload(t, &testOptions{}) }
784func TestFileUpload_worker(t *testing.T) {
785 testFileUpload(t, &testOptions{workerScript: "file-upload.php"})
786}
787func testFileUpload(t *testing.T, opts *testOptions) {
788 runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) {
789 requestBody := &bytes.Buffer{}

Callers

nothing calls this directly

Calls 1

testFileUploadFunction · 0.85

Tested by

no test coverage detected