MCPcopy Index your code
hub / github.com/coder/coder / AddFullLicense

Function AddFullLicense

enterprise/coderd/coderdenttest/coderdenttest.go:251–253  ·  view source on GitHub ↗

AddFullLicense generates a license with all features enabled.

(t *testing.T, client *codersdk.Client)

Source from the content-addressed store, hash-verified

249
250// AddFullLicense generates a license with all features enabled.
251func AddFullLicense(t *testing.T, client *codersdk.Client) codersdk.License {
252 return AddLicense(t, client, LicenseOptions{AllFeatures: true})
253}
254
255// AddLicense generates a new license with the options provided and inserts it.
256func AddLicense(t *testing.T, client *codersdk.Client, options LicenseOptions) codersdk.License {

Callers

nothing calls this directly

Calls 1

AddLicenseFunction · 0.85

Tested by

no test coverage detected