Exemple #1
0
 /**
  * We check, that groups with NULL value remain their order in subgroups tag
  * and won't fall down under not null valued groups.
  * This way we guarantee that links will be put correctly to each user in
  * whole user list (will, max, etc.).
  *
  * @group 44696
  * @group 53845
  */
 public function testCorrectXml()
 {
     $actual = $this->sugarChartObject->xmlDataGenericChart();
     $expected = $this->compareXml();
     $order = array("\r\n", "\n", "\r", "\t");
     $replace = "";
     // remove all break lines and spaces and tabs
     $expected = str_replace($order, $replace, $expected);
     $actual = str_replace($order, $replace, $actual);
     $this->assertEquals($expected, $actual);
 }