Skip to content
Snippets Groups Projects
Commit 50d849f8 authored by Tim Plunkett's avatar Tim Plunkett
Browse files

Jump menu fail.

parent 538f570f
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -70,6 +70,10 @@ function testJumpMenus() {
// The urls are built with :: to be able to have a unique path all the time,
// so try to find out the real path of $edit.
$view_object = views_get_view($view['name']);
if (!$view_object) {
$this->fail('The view could not be loaded.');
return;
}
$view_object->preview('page');
$form = $view_object->style_plugin->render();
$jump_options = $form['jump']['#options'];
......@@ -169,4 +173,3 @@ function createNodeRevisionAndGetPath() {
return 'node/' . $node->nid . '/revisions/' . $node->vid . '/view';
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment