CC-5651: Unit Test the Scheduler
Added test for a non-repeat and non-record show Added a helper class
This commit is contained in:
parent
3baf7929ce
commit
ef13d5966f
6 changed files with 154 additions and 63 deletions
|
@ -6,21 +6,21 @@ Class ShowData
|
|||
return array(
|
||||
"add_show_id" => -1,
|
||||
"add_show_instance_id" => -1,
|
||||
"add_show_name" => "gggg",
|
||||
"add_show_name" => "test show",
|
||||
"add_show_url" => null,
|
||||
"add_show_genre" => null,
|
||||
"add_show_description" => null,
|
||||
"add_show_start_date" => "2014-01-08",
|
||||
"add_show_start_date" => "2016-01-01",
|
||||
"add_show_start_time" => "00:00",
|
||||
"add_show_end_date_no_repeat" => "2014-01-08",
|
||||
"add_show_end_date_no_repeat" => "2016-01-01",
|
||||
"add_show_end_time" => "01:00",
|
||||
"add_show_duration" => "01:00",
|
||||
"add_show_duration" => "01h 00m",
|
||||
"add_show_timezone" => "America/Toronto",
|
||||
"add_show_repeats" => 0,
|
||||
"add_show_linked" => 0,
|
||||
"add_show_repeat_type" => 0,
|
||||
"add_show_monthly_repeat_type" => 2,
|
||||
"add_show_end_date" => "2014-01-08",
|
||||
"add_show_end_date" => "2016-01-01",
|
||||
"add_show_no_end" => 1,
|
||||
"cb_airtime_auth" => 0,
|
||||
"cb_custom_auth" => 0,
|
||||
|
@ -69,7 +69,7 @@ Class ShowData
|
|||
"add_show_rebroadcast_date_10" => null,
|
||||
"add_show_rebroadcast_time_10" => null,
|
||||
"add_show_hosts_autocomplete" => null,
|
||||
"add_show_background_color" => "3061c0",
|
||||
"add_show_background_color" => "364492",
|
||||
"add_show_color" => "ffffff",
|
||||
"add_show_hosts" => null,
|
||||
"add_show_day_check" => null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue