mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: Update sqlc to v1.16.0 (#5788)
* chore: Update sqlc to v1.16.0 * chore: Fix cases where types became Null-types * chore: Set parameter_schemas default_destination_scheme and default_source_scheme to NOT NULL * chore: Add enum validation to database fake * chore: Fix all tests that skipping enum values * fix: Use correct err in providionerdserver audit log failure log
This commit is contained in:
@@ -134,10 +134,12 @@ func TestEntitlements(t *testing.T) {
|
||||
t.Parallel()
|
||||
db := databasefake.New()
|
||||
db.InsertUser(context.Background(), database.InsertUserParams{
|
||||
Username: "test1",
|
||||
Username: "test1",
|
||||
LoginType: database.LoginTypePassword,
|
||||
})
|
||||
db.InsertUser(context.Background(), database.InsertUserParams{
|
||||
Username: "test2",
|
||||
Username: "test2",
|
||||
LoginType: database.LoginTypePassword,
|
||||
})
|
||||
db.InsertLicense(context.Background(), database.InsertLicenseParams{
|
||||
JWT: coderdenttest.GenerateLicense(t, coderdenttest.LicenseOptions{
|
||||
|
||||
Reference in New Issue
Block a user