Skip to content

Commit 3339273

Browse files
committed
fix another test
1 parent cad2087 commit 3339273

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

enterprise/coderd/license/license_test.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,12 @@ func TestEntitlements(t *testing.T) {
140140
t.Run("TooManyUsers", func(t *testing.T) {
141141
t.Parallel()
142142
db := databasefake.New()
143-
db.InsertUser(context.Background(), database.InsertUserParams{})
144-
db.InsertUser(context.Background(), database.InsertUserParams{})
143+
db.InsertUser(context.Background(), database.InsertUserParams{
144+
Username: "test1",
145+
})
146+
db.InsertUser(context.Background(), database.InsertUserParams{
147+
Username: "test2",
148+
})
145149
db.InsertLicense(context.Background(), database.InsertLicenseParams{
146150
JWT: coderdenttest.GenerateLicense(t, coderdenttest.LicenseOptions{
147151
UserLimit: 1,

0 commit comments

Comments
 (0)