tenanttest

package
v0.0.0-...-b51a233 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestTenantCounter atomic.Int64

TestTenantCounter is a counter that is tracks tenants created from NewTestContext().

Functions

func MockEnforce

func MockEnforce(t *testing.T)

func NewTestContext

func NewTestContext() context.Context

func ResetTestTenants

func ResetTestTenants()

ResetTestTenants resets the test tenant counter that tracks the tenants created from NewTestContext().

Types

This section is empty.

Jump to

Keyboard shortcuts

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