t('[213075] BreadCrumb trail for event details does not contain recent log entries'), 'desc' => t('The way the menu structure for db_log is built there isn\'t a breadcrumb link back to the recent log entries page. This patch moves the events to /reports/db_log/event/%d. It effectively adds the recent log entries page to the breadcrumb trail.'), 'group' => t('Drupal 7 Tests'), ); } // We open last watchdog entry and find out "Recent log entries" in BreadCrumb trail. function testIssue() { $web_user = $this->drupalCreateUserRolePerm(array( 'access administration pages', 'access site reports', )); $this->drupalLoginUser($web_user); $wid = db_result(db_query('SELECT MAX(wid) FROM {watchdog}')); $this->drupalGet('admin/reports/event/' . $wid); $breadcrumb_part = 'admin/reports/dblog'; $content = $this->drupalGetContent(); $this->assertWantedPattern('||', $content, 'Check "' . $breadcrumb_part . '"'); } }