protected function FeaturesUserTestCase::_test_views in Features 6
File
- tests/
features.test, line 182
Class
- FeaturesUserTestCase
- User permission component tests for Features
Code
protected function _test_views($op = 'load') {
switch ($op) {
case 'load':
return views_get_view('features_test', TRUE);
case 'override':
$view = views_get_view('features_test', TRUE);
$view
->set_display('default');
$view->display_handler
->override_option('title', 'Foo bar');
$view
->save();
break;
}
}