function viewsPluginStyleJumpMenuTest::setUp
Overrides ViewsSqlTest::setUp
File
-
tests/
styles/ views_plugin_style_jump_menu.test, line 34
Class
- viewsPluginStyleJumpMenuTest
- Tests jump menu style functionality.
Code
public function setUp(array $modules = array()) {
parent::setUp($modules);
$this->nodes = array();
$this->nodes['page'][] = $this->drupalCreateNode(array(
'type' => 'page',
));
$this->nodes['page'][] = $this->drupalCreateNode(array(
'type' => 'page',
));
$this->nodes['story'][] = $this->drupalCreateNode(array(
'type' => 'story',
));
$this->nodes['story'][] = $this->drupalCreateNode(array(
'type' => 'story',
));
$this->nodeTitles = array(
$this->nodes['page'][0]->title,
$this->nodes['page'][1]->title,
$this->nodes['story'][0]->title,
$this->nodes['story'][1]->title,
);
}