Documentation
¶
Index ¶
- func CreateAuthenticatedRequest(t *testing.T, method string, path string, body any, authResp AuthResponse) *http.Request
- func CreateUnauthenticatedRequest(t *testing.T, method string, path string, body any) *http.Request
- func ExecuteRequest(t *testing.T, handler http.Handler, req *http.Request, expectedStatus int) *httptest.ResponseRecorder
- func SetupTestDB(t *testing.T) *sql.DB
- type AuthResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteRequest ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.