AddFullLicense generates a license with all features enabled.
(t *testing.T, client *codersdk.Client)
| 249 | |
| 250 | // AddFullLicense generates a license with all features enabled. |
| 251 | func 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. |
| 256 | func AddLicense(t *testing.T, client *codersdk.Client, options LicenseOptions) codersdk.License { |
nothing calls this directly
no test coverage detected