$params = array(
'label' => 'New Dashlet element',
'name' => 'New Dashlet element',
- 'url' => 'civicrm/report/list&reset=1&compid=99&snippet=5',
- 'fullscreen_url' => 'civicrm/report/list&compid=99&reset=1&snippet=5&context=dashletFullscreen',
+ 'url' => 'civicrm/report/list&reset=1&compid=99',
+ 'fullscreen_url' => 'civicrm/report/list&compid=99&reset=1&context=dashletFullscreen',
);
$dashboard = $this->callAPISuccess('dashboard', 'create', $params);
$this->assertTrue(is_numeric($dashboard['id']), "In line " . __LINE__);