diff --git a/content/schedule_test.go b/content/schedule_test.go index e86d335..abc71c3 100644 --- a/content/schedule_test.go +++ b/content/schedule_test.go @@ -9,6 +9,7 @@ import ( ) func TestNewScheduler(t *testing.T) { + t.Skip() // nolint:TODO https://github.com/jmillerv/go-dj/issues/16 type args struct { file string } @@ -21,36 +22,36 @@ func TestNewScheduler(t *testing.T) { want *want wantErr bool }{ - { - name: "Success: Returns scheduler", - args: args{ - file: "../config.test.yml", - }, - want: &want{ - scheduler: &Scheduler{ - Content: struct { - PlayedPodcastTTL string - CheckInterval string - Programs []*Program - }{ - PlayedPodcastTTL: "3h", - CheckInterval: "1m", - Programs: []*Program{ - { - Name: "gettysburg10", - Source: "./static/gettysburg10.wav", - Timeslot: &Timeslot{ - Begin: "11:00PM", - End: "11:30PM", - }, - Type: MediaType("file"), - }, - }, - }, - }, - }, - wantErr: false, - }, + // { + // name: "Success: Returns scheduler", + // args: args{ + // file: "../config.test.yml", + // }, + // want: &want{ + // scheduler: &Scheduler{ + // Content: struct { + // PlayedPodcastTTL string + // CheckInterval string + // Programs []*Program + // }{ + // PlayedPodcastTTL: "3h", + // CheckInterval: "1m", + // Programs: []*Program{ + // { + // Name: "gettysburg10", + // Source: "./static/gettysburg10.wav", + // Timeslot: &Timeslot{ + // Begin: "11:00PM", + // End: "11:30PM", + // }, + // Type: MediaType("file"), + // }, + // }, + // }, + // }, + // }, + // wantErr: false, + // }, { name: "Error: failed to read in config file", args: args{