testing

package
v0.6.32 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const CreateApiTokenRequest = `
{
  "email": "test@test.test",
  "password": "test",
  "token_name": "test",
  "token_description": "test description"
}
`
View Source
const CreateApiTokenResponse = `
{
  "token": "1"
}
`
View Source
const CreateRequest = `
{
  "email": "test@test.test",
  "password": "test"
}
`
View Source
const CreateResponse = `
{
  "user_id": 1
}
`
View Source
const UserAssignmentsRequest = `
{
    "client_id": 8,
    "project_id": null,
    "role": "ClientAdministrator",
    "user_id": 777
}
`
View Source
const UserAssignmentsResponse = `
{
    "client_id": 8,
    "id": 12,
    "project_id": null,
    "role": "ClientAdministrator",
    "user_id": 777
}
`

Variables

View Source
var (
	User1  = users.User{UserID: 1}
	Token1 = users.ApiToken{Token: "1"}

	UA1 = users.UserAssignment{
		ClientID: &clientID,
		ID:       12,
		Role:     "ClientAdministrator",
		UserID:   777,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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