Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfCurrentDBIsLocal ¶
func CheckIfCurrentDBIsLocal() bool
CheckIfCurrentDBIsLocal checks whether the database used to run the test is a test/local database. If not, the setup exits
func StartTestServer ¶
func StartTestServer(ctx context.Context, prepareServer PrepareServer, allowedOrigins []string) (*http.Server, string, error)
StartTestServer starts up test server
Types ¶
Click to show internal directories.
Click to hide internal directories.