Removed database test that confirms the is_linkable is set to false after a show is un-linked.
Since we removed this behaviour from Airtime, and a show can be linked and unlinked as many times as the user wants, this test is deprecated.
This commit is contained in:
parent
20a5649dbe
commit
871ddb47d8
1 changed files with 0 additions and 20 deletions
|
@ -442,26 +442,6 @@ class ShowServiceDbTest extends Zend_Test_PHPUnit_DatabaseTestCase
|
|||
$this->createXmlDataSet(dirname(__FILE__)."/datasets/test_createLinkedShow.xml"),
|
||||
$ds
|
||||
);
|
||||
|
||||
/** Test unlinking a show **/
|
||||
$data["add_show_id"] = 1;
|
||||
$data["add_show_linked"] = 0;
|
||||
$showService = new Application_Service_ShowService(null, $data, true);
|
||||
$showService->addUpdateShow($data);
|
||||
|
||||
$ds = new Zend_Test_PHPUnit_Db_DataSet_QueryDataSet(
|
||||
$this->getConnection()
|
||||
);
|
||||
$ds->addTable('cc_show', 'select * from cc_show');
|
||||
$ds->addTable('cc_show_days', 'select * from cc_show_days');
|
||||
$ds->addTable('cc_show_instances', 'select id, starts, ends, show_id, record, rebroadcast, instance_id, modified_instance from cc_show_instances order by id');
|
||||
$ds->addTable('cc_show_rebroadcast', 'select * from cc_show_rebroadcast');
|
||||
$ds->addTable('cc_show_hosts', 'select * from cc_show_hosts');
|
||||
|
||||
$this->assertDataSetsEqual(
|
||||
$this->createXmlDataSet(dirname(__FILE__)."/datasets/test_unlinkLinkedShow.xml"),
|
||||
$ds
|
||||
);
|
||||
}
|
||||
|
||||
/** Test the creation of a single record and rebroadcast(RR) show **/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue