Documentation ¶
Index ¶
- Constants
- func AddIdentityHeader(t *testing.T, req *http.Request) *http.Request
- func WithCustomIdentity(t *testing.T, ctx context.Context, orgId string, accountNumber *string) context.Context
- func WithIdentity(t *testing.T, ctx context.Context) context.Context
- func WithTenant(t *testing.T, ctx context.Context) context.Context
- func WithTenantOrgId(t *testing.T, ctx context.Context, OrgId string) context.Context
Constants ¶
View Source
const ( // DefaultOrgId to be used in the tests. DefaultOrgId = "1" // DefaultAccountNumber to be used in the tests. DefaultAccountNumber = "1" )
Variables ¶
This section is empty.
Functions ¶
func WithCustomIdentity ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.