Documentation ¶
Overview ¶
Package testutils provides test helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertRedirect ¶
func AssertRedirect(t *testing.T, w *httptest.ResponseRecorder, path string)
func NewSecret ¶
NewSecret produces a cryptographically random 16-byte key, intended for use with aes-128 in tests.
func SkipIfEnvUnspecified ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.