Documentation ¶
Index ¶
- func AssertCSRFFailures(t *testing.T, reg *driver.RegistryDefault, flows []string, ...)
- func AssertCommonErrorCases(t *testing.T, flows []string)
- func AssertRegistrationRespectsValidation(t *testing.T, reg *driver.RegistryDefault, flows []string, ...)
- func AssertSchemDoesNotExist(t *testing.T, reg *driver.RegistryDefault, flows []string, ...)
- func CheckFormContent(t *testing.T, body []byte, requiredFields ...string)
- func ExpectValidationError(t *testing.T, ts *httptest.Server, conf *config.Config, flow string, ...) string
- func FieldNameSet(t *testing.T, body []byte, fields []string)
- func FormMethodIsPOST(t *testing.T, body []byte)
- func OutdatedFieldsDoNotExist(t *testing.T, body []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertCSRFFailures ¶
func AssertCommonErrorCases ¶
func AssertSchemDoesNotExist ¶
func ExpectValidationError ¶
func FieldNameSet ¶
FieldNameSet checks if the fields have the right "name" set.
func FormMethodIsPOST ¶
func OutdatedFieldsDoNotExist ¶
checks if some keys are not set, this should be used to catch regression issues
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.