Add new fields to tests
This commit is contained in:
parent
288473e4fc
commit
03c73065bf
24 changed files with 61 additions and 1 deletions
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -66,7 +66,9 @@ class ShowServiceDbTest extends Zend_Test_PHPUnit_DatabaseTestCase
|
||||||
"cb_custom_auth" => false,
|
"cb_custom_auth" => false,
|
||||||
"custom_username" => null,
|
"custom_username" => null,
|
||||||
"custom_password" => null,
|
"custom_password" => null,
|
||||||
"add_show_linked" => false
|
"add_show_linked" => false,
|
||||||
|
"add_show_has_autoplaylist" => 0,
|
||||||
|
"add_show_autoplaylist_id" => null
|
||||||
);
|
);
|
||||||
|
|
||||||
$showService->setCcShow($data);
|
$showService->setCcShow($data);
|
||||||
|
|
|
@ -14,3 +14,5 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: true
|
linked: true
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '2'
|
id: '2'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: true
|
linked: true
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: true
|
linked: true
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '2'
|
id: '2'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: false
|
is_linkable: false
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '1'
|
id: '1'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '2'
|
id: '2'
|
||||||
|
|
|
@ -14,6 +14,8 @@ cc_show:
|
||||||
linked: false
|
linked: false
|
||||||
is_linkable: true
|
is_linkable: true
|
||||||
image_path: ''
|
image_path: ''
|
||||||
|
has_autoplaylist: false
|
||||||
|
autoplaylist_id: null
|
||||||
cc_show_days:
|
cc_show_days:
|
||||||
-
|
-
|
||||||
id: '2'
|
id: '2'
|
||||||
|
|
|
@ -17,6 +17,8 @@ Class ShowServiceData
|
||||||
"add_show_end_time" => "01:00",
|
"add_show_end_time" => "01:00",
|
||||||
"add_show_duration" => "01h 00m",
|
"add_show_duration" => "01h 00m",
|
||||||
"add_show_timezone" => "UTC",
|
"add_show_timezone" => "UTC",
|
||||||
|
"add_show_has_autoplaylist" => false,
|
||||||
|
"add_show_autoplaylist_id" => null,
|
||||||
"add_show_repeats" => 0,
|
"add_show_repeats" => 0,
|
||||||
"add_show_linked" => 0,
|
"add_show_linked" => 0,
|
||||||
"add_show_repeat_type" => 0,
|
"add_show_repeat_type" => 0,
|
||||||
|
@ -92,6 +94,8 @@ Class ShowServiceData
|
||||||
"add_show_end_time" => "01:00",
|
"add_show_end_time" => "01:00",
|
||||||
"add_show_duration" => "01h 00m",
|
"add_show_duration" => "01h 00m",
|
||||||
"add_show_timezone" => "UTC",
|
"add_show_timezone" => "UTC",
|
||||||
|
"add_show_has_autoplaylist" => false,
|
||||||
|
"add_show_autoplaylist_id" => null,
|
||||||
"add_show_repeats" => 1,
|
"add_show_repeats" => 1,
|
||||||
"add_show_linked" => 0,
|
"add_show_linked" => 0,
|
||||||
"add_show_repeat_type" => 0,
|
"add_show_repeat_type" => 0,
|
||||||
|
@ -167,6 +171,8 @@ Class ShowServiceData
|
||||||
"add_show_end_time" => "01:00",
|
"add_show_end_time" => "01:00",
|
||||||
"add_show_duration" => "01h 00m",
|
"add_show_duration" => "01h 00m",
|
||||||
"add_show_timezone" => "UTC",
|
"add_show_timezone" => "UTC",
|
||||||
|
"add_show_has_autoplaylist" => false,
|
||||||
|
"add_show_autoplaylist_id" => null,
|
||||||
"add_show_repeats" => 1,
|
"add_show_repeats" => 1,
|
||||||
"add_show_linked" => 0,
|
"add_show_linked" => 0,
|
||||||
"add_show_repeat_type" => 0,
|
"add_show_repeat_type" => 0,
|
||||||
|
@ -253,6 +259,8 @@ Class ShowServiceData
|
||||||
"add_show_end_time" => "02:00",
|
"add_show_end_time" => "02:00",
|
||||||
"add_show_duration" => "01h 00m",
|
"add_show_duration" => "01h 00m",
|
||||||
"add_show_timezone" => "UTC",
|
"add_show_timezone" => "UTC",
|
||||||
|
"add_show_has_autoplaylist" => false,
|
||||||
|
"add_show_autoplaylist_id" => null,
|
||||||
"add_show_repeats" => 0,
|
"add_show_repeats" => 0,
|
||||||
"add_show_linked" => 0,
|
"add_show_linked" => 0,
|
||||||
"add_show_no_end" => 0,
|
"add_show_no_end" => 0,
|
||||||
|
@ -279,6 +287,8 @@ Class ShowServiceData
|
||||||
"add_show_end_time" => "01:00",
|
"add_show_end_time" => "01:00",
|
||||||
"add_show_duration" => "01h 00m",
|
"add_show_duration" => "01h 00m",
|
||||||
"add_show_timezone" => "UTC",
|
"add_show_timezone" => "UTC",
|
||||||
|
"add_show_has_autoplaylist" => false,
|
||||||
|
"add_show_autoplaylist_id" => null,
|
||||||
"add_show_repeats" => 1,
|
"add_show_repeats" => 1,
|
||||||
"add_show_linked" => 0,
|
"add_show_linked" => 0,
|
||||||
"add_show_repeat_type" => 0,
|
"add_show_repeat_type" => 0,
|
||||||
|
@ -355,6 +365,8 @@ Class ShowServiceData
|
||||||
"add_show_end_time" => "01:00",
|
"add_show_end_time" => "01:00",
|
||||||
"add_show_duration" => "01h 00m",
|
"add_show_duration" => "01h 00m",
|
||||||
"add_show_timezone" => "UTC",
|
"add_show_timezone" => "UTC",
|
||||||
|
"add_show_has_autoplaylist" => false,
|
||||||
|
"add_show_autoplaylist_id" => null,
|
||||||
"add_show_repeats" => 0,
|
"add_show_repeats" => 0,
|
||||||
"add_show_linked" => 0,
|
"add_show_linked" => 0,
|
||||||
"add_show_repeat_type" => 0,
|
"add_show_repeat_type" => 0,
|
||||||
|
@ -430,6 +442,8 @@ Class ShowServiceData
|
||||||
"add_show_end_time" => "01:00",
|
"add_show_end_time" => "01:00",
|
||||||
"add_show_duration" => "01h 00m",
|
"add_show_duration" => "01h 00m",
|
||||||
"add_show_timezone" => "UTC",
|
"add_show_timezone" => "UTC",
|
||||||
|
"add_show_has_autoplaylist" => false,
|
||||||
|
"add_show_autoplaylist_id" => null,
|
||||||
"add_show_repeats" => 1,
|
"add_show_repeats" => 1,
|
||||||
"add_show_linked" => 0,
|
"add_show_linked" => 0,
|
||||||
"add_show_repeat_type" => 0,
|
"add_show_repeat_type" => 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue