mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
fix: populate default created_by and add not-null constraint in templates (#2290)
This commit is contained in:
@ -88,7 +88,7 @@ func TestDiff(t *testing.T) {
|
||||
ActiveVersionID: uuid.UUID{3},
|
||||
MaxTtl: int64(time.Hour),
|
||||
MinAutostartInterval: int64(time.Minute),
|
||||
CreatedBy: uuid.NullUUID{UUID: uuid.UUID{4}, Valid: true},
|
||||
CreatedBy: uuid.UUID{4},
|
||||
},
|
||||
exp: audit.Map{
|
||||
"id": uuid.UUID{1}.String(),
|
||||
|
Reference in New Issue
Block a user