Documentation
¶
Index ¶
- func CreateMockGraphQLError(message string) map[string]interface{}
- func CreateMockGraphQLResponse(data map[string]interface{}) map[string]interface{}
- func MockGraphQLError(t *testing.T, errorMessage string) (*httptest.Server, func())
- func MockGraphQLServer(t *testing.T, responses map[string]interface{}) (*httptest.Server, func())
- func MockOAuth2Server(t *testing.T, tokenResponse map[string]interface{}) (*httptest.Server, func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMockGraphQLError ¶
CreateMockGraphQLError creates a standard GraphQL error response structure
func CreateMockGraphQLResponse ¶
CreateMockGraphQLResponse creates a standard GraphQL response structure
func MockGraphQLError ¶
MockGraphQLError creates a mock GraphQL error response
func MockGraphQLServer ¶
MockGraphQLServer creates a mock GraphQL server for testing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.