function ViewsUpgradeTestCase::viewsData
Overrides ViewsSqlTest::viewsData
File
-
tests/
views_upgrade.test, line 41
Class
- ViewsUpgradeTestCase
- Try to test the upgrade path of all conversions.
Code
public function viewsData() {
$data = parent::viewsData();
$data['views_test']['old_field_1']['moved to'] = array(
'views_test',
'id',
);
$data['views_test']['old_field_2']['field']['moved to'] = array(
'views_test',
'name',
);
$data['views_test']['old_field_3']['filter']['moved to'] = array(
'views_test',
'age',
);
// @todo Test this scenario, too.
$data['views_old_table_2']['old_field']['moved to'] = array(
'views_test',
'job',
);
$data['views_old_table']['moved to'] = 'views_test';
return $data;
}