@@ -119,7 +119,7 @@ public function testUpgradeImport() {
}
publicfunctionviewsMovedToField(){
$view=newView();
$view=newView(array(),'view');
$view->name='test_views_move_to_field';
$view->description='';
$view->tag='';
...
...
@@ -140,7 +140,7 @@ public function viewsMovedToField() {
}
publicfunctionviewsMovedToHandler(){
$view=newView();
$view=newView(array(),'view');
$view->name='test_views_move_to_handler';
$view->description='';
$view->tag='';
...
...
@@ -165,7 +165,7 @@ public function viewsMovedToHandler() {
}
publicfunctionviewsMovedToTable(){
$view=newView();
$view=newView(array(),'view');
$view->name='test_views_move_to_table';
$view->description='';
$view->tag='';
...
...
@@ -187,7 +187,7 @@ public function viewsMovedToTable() {
protectedfunctionviewUpgradeImport(){
$import='
$view = new Drupal\views\View();
$view = new Drupal\views\View(array(), "view");
$view->name = "comments_recent";
$view->description = "Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.";
$view->description='Contains a block and a page to list recent comments; the block will automatically link to the page, which displays the comment body as well as a link to the node.';
$view->description='Shows the most-viewed nodes on the site. This requires the statistics to be enabled at administer >> reports >> access log settings.';