testutils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBadRequestAppError

func GetBadRequestAppError() *model.AppError

func GetChannel

func GetChannel(channelType string) *model.Channel

func GetChannels

func GetChannels(count int, channelType string) []*model.Channel

func GetID

func GetID() string

func GetInternalServerAppError

func GetInternalServerAppError() *model.AppError

func GetLimitAndOffset

func GetLimitAndOffset() (limit, offset string)

func GetMockArgumentsWithType

func GetMockArgumentsWithType(typeString string, num int) []interface{}

func GetNotFoundAppError

func GetNotFoundAppError() *model.AppError

func GetPost

func GetPost() *model.Post

func GetSearchTerm

func GetSearchTerm(valid bool) string

func GetSecret

func GetSecret() string

func GetSerializerUser

func GetSerializerUser() *serializer.User

func GetServiceNowNumber

func GetServiceNowNumber() string

func GetServiceNowPartialRecord

func GetServiceNowPartialRecord() *serializer.ServiceNowPartialRecord

func GetServiceNowPartialRecords

func GetServiceNowPartialRecords(count int) []*serializer.ServiceNowPartialRecord

func GetServiceNowRecord

func GetServiceNowRecord() *serializer.ServiceNowRecord

func GetServiceNowShortDescription

func GetServiceNowShortDescription() string

func GetServiceNowSysID

func GetServiceNowSysID() string

func GetSubscription

func GetSubscription(subscriptionType string) *serializer.SubscriptionResponse

func GetSubscriptions

func GetSubscriptions(count int) []*serializer.SubscriptionResponse

Types

This section is empty.

Jump to

Keyboard shortcuts

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