init
This commit is contained in:
10
internal/store/model/job_config_test.go
Normal file
10
internal/store/model/job_config_test.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package model
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestJobConfigDefaultsToIdleStatus(t *testing.T) {
|
||||
job := NewJobConfig("daily-check", "daily-check")
|
||||
if job.LastStatus != "idle" {
|
||||
t.Fatalf("LastStatus = %q, want idle", job.LastStatus)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user