protected function setUp() { parent::setUp(); // Make sure local tasks, actions, and page title are showing. $this->drupalPlaceBlock('local_tasks_block'); $this->drupalPlaceBlock('local_actions_block'); $this->drupalPlaceBlock('page_title_block'); }
function setUp() { parent::setUp(); // Generate 15 random nodes. Ensure the created times are in order. for ($i = 0; $i < 15; $i++) { $start = REQUEST_TIME - 30; $this->nodes[] = $this->drupalCreateNode(array('changed' => $start + $i, 'created' => $start + $i)); } // Make sure local tasks and page title are showing. $this->drupalPlaceBlock('local_tasks_block'); $this->drupalPlaceBlock('page_title_block'); }