fix scheduler mock

This commit is contained in:
Pascal Fischer
2025-01-16 23:00:47 +01:00
parent 5d3832c597
commit b853c87e36

View File

@@ -40,7 +40,7 @@ func (mock *MockScheduler) Schedule(ctx context.Context, in time.Duration, ID st
}
func (mock *MockScheduler) IsJobRunning(_ string) bool {
return true
return false
}
// DefaultScheduler is a generic structure that allows to schedule jobs (functions) to run in the future and cancel them.