MCPcopy Index your code
hub / github.com/coder/coder / dbArg

Function dbArg

enterprise/cli/server_test.go:20–24  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

18)
19
20func dbArg(t *testing.T) string {
21 dbURL, err := dbtestutil.Open(t)
22 require.NoError(t, err)
23 return "--postgres-url=" + dbURL
24}
25
26// TestServer runs the enterprise server command
27// and waits for /healthz to return "OK".

Callers 1

TestServer_SingleFunction · 0.70

Calls 1

OpenFunction · 0.92

Tested by

no test coverage detected