(ctx context.Context, db database.Store, templateID uuid.UUID)
| 16 | var _ TemplateScheduleStore = MockTemplateScheduleStore{} |
| 17 | |
| 18 | func (m MockTemplateScheduleStore) Get(ctx context.Context, db database.Store, templateID uuid.UUID) (TemplateScheduleOptions, error) { |
| 19 | if m.GetFn != nil { |
| 20 | return m.GetFn(ctx, db, templateID) |
| 21 | } |
| 22 | |
| 23 | return NewAGPLTemplateScheduleStore().Get(ctx, db, templateID) |
| 24 | } |
| 25 | |
| 26 | func (m MockTemplateScheduleStore) Set(ctx context.Context, db database.Store, template database.Template, options TemplateScheduleOptions) (database.Template, error) { |
| 27 | if m.SetFn != nil { |
nothing calls this directly
no test coverage detected