(t *testing.T)
| 15 | } |
| 16 | |
| 17 | func TestNewSchedulerTask_WithLocation(t *testing.T) { |
| 18 | _, err := CreateSchedulerTask(func(ctx context.Context) { |
| 19 | |
| 20 | }, WithLocation("Europe/Istanbul")) |
| 21 | assert.Nil(t, err) |
| 22 | } |
| 23 | |
| 24 | func TestNewSchedulerTask_WithInvalidLocation(t *testing.T) { |
| 25 | _, err := CreateSchedulerTask(func(ctx context.Context) { |
nothing calls this directly
no test coverage detected