test_util

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const BaseUrl = "https://api-staging-eu.seatsio.net"

Variables

This section is empty.

Functions

func CreateTestChart

func CreateTestChart(t *testing.T, secretKey string) string

func CreateTestChartWithErrors

func CreateTestChartWithErrors(t *testing.T, secretKey string) string

func CreateTestChartWithSections

func CreateTestChartWithSections(t *testing.T, secretKey string) string

func CreateTestChartWithTables

func CreateTestChartWithTables(t *testing.T, secretKey string) string

Types

type TestCompany

type TestCompany struct {
	Admin     User      `json:"admin"`
	Workspace Workspace `json:"workspace"`
}

func CreateTestCompany

func CreateTestCompany(t *testing.T) *TestCompany

type User

type User struct {
	SecretKey string `json:"secretKey"`
}

type Workspace

type Workspace struct {
	Key       string `json:"key"`
	SecretKey string `json:"secretKey"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL