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

Function TestEnvVarsInPhpIni

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

Source from the content-addressed store, hash-verified

163}
164
165func TestEnvVarsInPhpIni(t *testing.T) {
166 runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, _ int) {
167 body, _ := testGet("http://example.com/ini.php?key=opcache.enable", handler, t)
168 assert.Equal(t, "opcache.enable:0", body)
169 }, &testOptions{
170 phpIni: map[string]string{
171 "opcache.enable": "${LITERAL_ZERO}",
172 },
173 })
174}
175
176func TestFinishRequest_module(t *testing.T) { testFinishRequest(t, nil) }
177func TestFinishRequest_worker(t *testing.T) {

Callers

nothing calls this directly

Calls 2

runTestFunction · 0.85
testGetFunction · 0.85

Tested by

no test coverage detected