(t *testing.T, db database.Store, orgID uuid.UUID, userID uuid.UUID)
| 6171 | } |
| 6172 | |
| 6173 | func createTemplate(t *testing.T, db database.Store, orgID uuid.UUID, userID uuid.UUID) database.Template { |
| 6174 | // create template |
| 6175 | tmpl := dbgen.Template(t, db, database.Template{ |
| 6176 | OrganizationID: orgID, |
| 6177 | CreatedBy: userID, |
| 6178 | ActiveVersionID: uuid.New(), |
| 6179 | }) |
| 6180 | |
| 6181 | return tmpl |
| 6182 | } |
| 6183 | |
| 6184 | type tmplVersionOpts struct { |
| 6185 | DesiredInstances int32 |
no test coverage detected