We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cad2087 commit 3339273Copy full SHA for 3339273
enterprise/coderd/license/license_test.go
@@ -140,8 +140,12 @@ func TestEntitlements(t *testing.T) {
140
t.Run("TooManyUsers", func(t *testing.T) {
141
t.Parallel()
142
db := databasefake.New()
143
- db.InsertUser(context.Background(), database.InsertUserParams{})
144
+ db.InsertUser(context.Background(), database.InsertUserParams{
+ Username: "test1",
145
+ })
146
147
+ Username: "test2",
148
149
db.InsertLicense(context.Background(), database.InsertLicenseParams{
150
JWT: coderdenttest.GenerateLicense(t, coderdenttest.LicenseOptions{
151
UserLimit: 1,
0 commit comments