testutils

package
v0.0.0-...-066e387 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertLinks(t *testing.T, path string, links util.Links, limit int, offset int)

func GetSourcesWithAppType

func GetSourcesWithAppType(appTypeId int64) []model.Source

func IdentityHeaderForUser

func IdentityHeaderForUser(testUserId string) *identity.XRHID

func SingleResourceBulkCreateRequest

func SingleResourceBulkCreateRequest(nameSource, sourceTypeName, applicationTypeName, authenticationResourceType string) *model.BulkCreateRequest

func SkipIfNotRunningIntegrationTests

func SkipIfNotRunningIntegrationTests(t *testing.T)

SkipIfNotRunningIntegrationTests is a helper function which skips a test if the integration tests don't want to be run.

func SkipIfNotSecretStoreDatabase

func SkipIfNotSecretStoreDatabase(t *testing.T)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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